diff --git a/src/main/resources/custom_messages.properties b/src/main/resources/custom_messages.properties index 3503e20..b92dbfe 100644 --- a/src/main/resources/custom_messages.properties +++ b/src/main/resources/custom_messages.properties @@ -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. \ No newline at end of file +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. \ No newline at end of file diff --git a/src/main/resources/custom_messages_fr.properties b/src/main/resources/custom_messages_fr.properties index 1957426..38fc7c2 100644 --- a/src/main/resources/custom_messages_fr.properties +++ b/src/main/resources/custom_messages_fr.properties @@ -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. \ No newline at end of file +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. \ No newline at end of file diff --git a/src/main/resources/templates/login/casGenericSuccessView.html b/src/main/resources/templates/login/casGenericSuccessView.html new file mode 100644 index 0000000..ccfc6b5 --- /dev/null +++ b/src/main/resources/templates/login/casGenericSuccessView.html @@ -0,0 +1,39 @@ + + + + + + + Generic Success View + + + + +
+
+ +
+

+ + Log In Successful +

+ +

You, username, 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.

+ +

+ When you are finished, for security reasons, please log out and exit your web browser. +

+
+ +
+
+ + \ No newline at end of file