|
| 1 | +<!DOCTYPE html> |
| 2 | +<html xmlns:layout="http://www.ultraq.net.nz/thymeleaf/layout" layout:decorate="~{layout}"> |
| 3 | + |
| 4 | +<head> |
| 5 | + <meta http-equiv="X-UA-Compatible" content="IE=edge" /> |
| 6 | + <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no" /> |
| 7 | + |
| 8 | + <title th:text="#{screen.pac4j.unauthz.pagetitle}">Pac4j Stop Webflow View</title> |
| 9 | + <link href="../../static/css/cas.css" rel="stylesheet" th:remove="tag" /> |
| 10 | +</head> |
| 11 | + |
| 12 | +<body> |
| 13 | +<main role="main" class="container mt-3 mb-3"> |
| 14 | + <div layout:fragment="content" class="banner banner-danger mdc-card p-4 m-auto w-lg-66"> |
| 15 | + <div class=""> |
| 16 | + <h2 th:utext="#{screen.pac4j.unauthz.heading}">Unauthorized Access</h2> |
| 17 | + <p th:utext="#{screen.pac4j.unauthz.message}">Either the authentication request was rejected/cancelled, |
| 18 | + or |
| 19 | + the authentication provider denied access due to permissions, etc. Review logs to find the root |
| 20 | + cause of |
| 21 | + the issue.</p> |
| 22 | + |
| 23 | + <div class="mdc-data-table"> |
| 24 | + <table th:if="${error != null or reason != null or code != null or description != null}" |
| 25 | + class="mdc-data-table__table w-100" aria-label="Error information"> |
| 26 | + <thead> |
| 27 | + <tr class="mdc-data-table__header-row"> |
| 28 | + <th class="mdc-data-table__header-cell">Error</th> |
| 29 | + <th class="mdc-data-table__header-cell">Reason</th> |
| 30 | + <th class="mdc-data-table__header-cell">Code</th> |
| 31 | + <th class="mdc-data-table__header-cell">Description</th> |
| 32 | + <th class="mdc-data-table__header-cell">Provider</th> |
| 33 | + <th class="mdc-data-table__header-cell">Destination</th> |
| 34 | + </tr> |
| 35 | + </thead> |
| 36 | + <tbody class="mdc-data-table__content"> |
| 37 | + <tr class="mdc-data-table__row"> |
| 38 | + <td class="mdc-data-table__cell" th:text="${error}">Error</td> |
| 39 | + <td class="mdc-data-table__cell" th:text="${reason}">reason</td> |
| 40 | + <td class="mdc-data-table__cell" th:text="${code}">code</td> |
| 41 | + <td class="mdc-data-table__cell" th:text="${description}">description</td> |
| 42 | + <td class="mdc-data-table__cell" th:text="${client}">client</td> |
| 43 | + <td class="mdc-data-table__cell"> |
| 44 | + <a th:href="${service}" th:text="#{screen.pac4j.unauthz.gotoapp}">Goto |
| 45 | + Application</a> |
| 46 | + </td> |
| 47 | + </tr> |
| 48 | + </tbody> |
| 49 | + </table> |
| 50 | + </div> |
| 51 | + </div> |
| 52 | + <div class="d-flex"> |
| 53 | + <a class="mdc-button mdc-button--raised mr-2" th:href="@{/login}"> |
| 54 | + <span class="mdc-button__label" th:text="#{screen.pac4j.unauthz.login}">Back to CAS</span> |
| 55 | + </a> |
| 56 | + <a class="mdc-button mdc-button--outlined" th:href="${service}"> |
| 57 | + <span class="mdc-button__label" th:text="#{screen.pac4j.unauthz.gotoapp}">Goto Application</span> |
| 58 | + </a> |
| 59 | + </div> |
| 60 | + </div> |
| 61 | +</main> |
| 62 | +</body> |
| 63 | + |
| 64 | +</html> |
0 commit comments