-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: suppression des attributs sur la page après connexion
- Loading branch information
1 parent
b1d47ab
commit 2f04261
Showing
3 changed files
with
45 additions
and
2 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,4 @@ | ||
screen.interrupt.redirect=You should be automatically redirected. If not, click on the button below: | ||
screeen.pac4j.unauthz.exception.PrincipalException=You are not authorized to access this service. This may be due either to insufficient permissions or to an access restriction based on the date. | ||
screeen.pac4j.unauthz.exception.PrincipalException=You are not authorized to access this service. This may be due either to insufficient permissions or to an access restriction based on the date. | ||
screen.success.success-no-attributes=You have successfully logged into the Central Authentication Service. However, you are seeing \ | ||
this page because CAS does not know about your target destination and how to get you there. |
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,2 +1,4 @@ | ||
screen.interrupt.redirect=Vous devriez être automatiquement redirigé. Si ce n'est pas le cas, vous pouvez cliquer sur le bouton ci-dessous : | ||
screeen.pac4j.unauthz.exception.PrincipalException=Vous n'êtes pas autorisé à accéder à ce service. Cela peut être dû soit à des permissions insuffisantes soit à une restriction d'accès par date. | ||
screeen.pac4j.unauthz.exception.PrincipalException=Vous n'êtes pas autorisé à accéder à ce service. Cela peut être dû soit à des permissions insuffisantes soit à une restriction d'accès par date. | ||
screen.success.success-no-attributes=Vous vous êtes authentifié(e) auprès du Service Central d'Authentification. Toutefois, vous voyez \ | ||
cette page, car CAS ne connait pas votre destination finale ni comment vous y rediriger. |
39 changes: 39 additions & 0 deletions
39
src/main/resources/templates/login/casGenericSuccessView.html
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 |
---|---|---|
@@ -0,0 +1,39 @@ | ||
<html xmlns:layout="http://www.ultraq.net.nz/thymeleaf/layout" layout:decorate="~{layout}"> | ||
|
||
<head> | ||
<meta http-equiv="X-UA-Compatible" content="IE=edge"/> | ||
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no"/> | ||
|
||
<title th:text="#{screen.success.header}">Generic Success View</title> | ||
<link href="../../static/css/cas.css" rel="stylesheet" th:remove="tag"/> | ||
</head> | ||
|
||
<body> | ||
<main class="container mt-3 mb-3"> | ||
<div layout:fragment="content" class="row"> | ||
<script> | ||
function jqueryReady() { | ||
$('table').DataTable(); | ||
} | ||
</script> | ||
<div class="w-100 m-auto mdc-card card p-4"> | ||
<h2> | ||
<i class="mdi mdi-door-open fas fa-door-open" aria-hidden="true"></i> | ||
<span th:utext="#{screen.success.header}">Log In Successful</span> | ||
<span id="principalId" th:utext="${authentication.principal.id}" style="display:none;"/> | ||
</h2> | ||
|
||
<p th:utext="#{screen.success.success-no-attributes}">You, <strong>username</strong>, have successfully logged into the Central Authentication | ||
Service. | ||
However, you are seeing this page because CAS does not know about your target destination and how | ||
to get you there. Examine the authentication request again and make sure a target service/application that is authorized and registered with CAS is specified.</p> | ||
|
||
<p id="view-genericsuccess-security" th:utext="#{screen.success.security}"> | ||
When you are finished, for security reasons, please <a href="logout">log out</a> and exit your web browser. | ||
</p> | ||
</div> | ||
|
||
</div> | ||
</main> | ||
</body> | ||
</html> |