casPac4jStopWebflow.html 2.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960
  1. <!DOCTYPE html>
  2. <html xmlns:layout="http://www.ultraq.net.nz/thymeleaf/layout" layout:decorate="~{layout}">
  3. <head>
  4. <meta http-equiv="X-UA-Compatible" content="IE=edge"/>
  5. <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no"/>
  6. <title th:text="#{screen.pac4j.unauthz.pagetitle}">Pac4j Stop Webflow View</title>
  7. <link href="../../static/css/cas.css" rel="stylesheet" th:remove="tag" />
  8. </head>
  9. <body>
  10. <main role="main" class="container mt-3 mb-3">
  11. <div layout:fragment="content">
  12. <div class="alert alert-danger">
  13. <h2 th:utext="#{screen.pac4j.unauthz.heading}">Unauthorized Access</h2>
  14. <p th:utext="#{screen.pac4j.unauthz.message}">Either the authentication request was rejected/cancelled, or
  15. the authentication provider denied access due to permissions, etc. Review logs to find the root cause of
  16. the issue.</p>
  17. <div>
  18. <p/>
  19. <table th:if="${error != null or reason != null or code != null or description != null}"
  20. class="table table-bordered table-hover table-responsive">
  21. <thead>
  22. <tr>
  23. <th>Error</th>
  24. <th>Reason</th>
  25. <th>Code</th>
  26. <th>Description</th>
  27. <th>Provider</th>
  28. <th>Destination</th>
  29. </tr>
  30. </thead>
  31. <tbody>
  32. <tr class="active">
  33. <td th:text="${error}">Error</td>
  34. <td th:text="${reason}">reason</td>
  35. <td th:text="${code}">code</td>
  36. <td th:text="${description}">description</td>
  37. <td th:text="${client}">client</td>
  38. <td>
  39. <a th:href="${service}" th:text="#{screen.pac4j.unauthz.gotoapp}">Goto Application</a>
  40. </td>
  41. </tr>
  42. </tbody>
  43. </table>
  44. </div>
  45. </div>
  46. <p>
  47. <a class="btn btn-submit" th:href="@{/login}" th:text="#{screen.pac4j.unauthz.login}">Back to CAS</a>
  48. <a class="btn btn-submit" th:href="${service}" th:text="#{screen.pac4j.unauthz.gotoapp}">Goto
  49. Application</a>
  50. </p>
  51. </div>
  52. </main>
  53. </body>
  54. </html>