show.html 1.2 KB

12345678910111213141516171819202122232425262728293031323334
  1. <html xmlns:th="http://www.thymeleaf.org" xmlns:tiles="http://www.thymeleaf.org">
  2. <head>
  3. <title tiles:fragment="title">Messages : Login</title>
  4. <!-- /Simple OpenID Selector -->
  5. <link rel="stylesheet" th:href="@{/resources/css/openid.css}" />
  6. </head>
  7. <body>
  8. <div tiles:fragment="content">
  9. <h1>User Attributes</h1>
  10. <table class="table table-border">
  11. <thead>
  12. <tr>
  13. <th>Attribute Name</th>
  14. <th>Attribute Value</th>
  15. </tr>
  16. </thead>
  17. <tbody>
  18. <tr>
  19. <td>ID</td>
  20. <td th:text="${authentication.identityUrl}">https://example.com/user/id</td>
  21. </tr>
  22. <tr th:each="attribute : ${authentication.attributes}">
  23. <td th:text="${attribute.name}">Attribute Name</td>
  24. <td>
  25. <dl th:each="value : ${attribute.values}">
  26. <dd th:text="${value}">Attribute Value</dd>
  27. </dl>
  28. </td>
  29. </tr>
  30. </tbody>
  31. </table>
  32. </div>
  33. </body>
  34. </html>