-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
0a3e22c
commit 8b06110
Showing
4 changed files
with
25 additions
and
83 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,30 +1,31 @@ | ||
<!doctype html> | ||
<html | ||
lang="en" | ||
xmlns:th="http:https://www.thymeleaf.org" | ||
xmlns:layout="http:https://www.ultraq.net.nz/thymeleaf/layout" | ||
xmlns:sec="http:https://www.thymeleaf.org/thymeleaf-extras-springsecurity3" | ||
layout:decorate="~{layout}" | ||
lang="en" | ||
xmlns:th="http:https://www.thymeleaf.org" | ||
xmlns:layout="http:https://www.ultraq.net.nz/thymeleaf/layout" | ||
xmlns:sec="http:https://www.thymeleaf.org/thymeleaf-extras-springsecurity3" | ||
layout:decorate="~{layout}" | ||
> | ||
|
||
<body> | ||
<!-- Content starts --> | ||
<section class="my-3 p-3 bg-white rounded box-shadow" layout:fragment="content"> | ||
<div class="alert alert-success" role="alert"> | ||
<small><strong>You are successfully logged in.<br/> | ||
Your SAML 2.0 authentication process works fine.</strong> </small> | ||
</div> | ||
<p>You are logged as <span class="badge badge-dark" th:text="${username}">null</span>.</p> | ||
<small class="d-block text-right mt-3" id="sso-btn"> | ||
<a th:href="@{/saml/logout}" class="btn btn-spring btn-sm"> | ||
<i class="far fa-user-circle"></i> Global logout | ||
<!-- Content starts --> | ||
<section class="my-3 p-3 bg-white rounded box-shadow" layout:fragment="content"> | ||
<div class="alert alert-success" role="alert"> | ||
<small><strong>You are successfully logged in.<br/> | ||
Your SAML 2.0 authentication process works fine.</strong></small> | ||
</div> | ||
<p>You are logged as <span class="badge badge-dark" th:text="${username}">null</span>.</p> | ||
<small class="d-block text-right mt-3" id="sso-btn"> | ||
<a th:href="@{/hello}" class="btn btn-spring btn-sm"> | ||
<i class="far fa-arrow-alt-circle-right"></i> Hello | ||
</a> | ||
<a th:href="@{/saml/logout?local=true}" class="btn btn-spring btn-sm"> | ||
<i class="fas fa-sign-out-alt"></i> Local logout | ||
|
||
<a th:href="@{/saml/logout}" class="btn btn-spring btn-sm"> | ||
<i class="far fa-user-circle"></i> Global logout | ||
</a> | ||
</small> | ||
</section> | ||
<!-- Content ends --> | ||
</small> | ||
</section> | ||
<!-- Content ends --> | ||
</body> | ||
|
||
</html> |