Class LogoutProperties
java.lang.Object
org.apereo.cas.configuration.model.core.logout.LogoutProperties
- All Implemented Interfaces:
Serializable
@RequiresModule(name="cas-server-core-logout",
automated=true)
public class LogoutProperties
extends Object
implements Serializable
This is
LogoutProperties
.- Since:
- 5.0.0
- See Also:
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionThe target destination to which CAS should redirect after logout is indicated and extracted by a parameter name of your choosing here.A url to which CAS must immediately redirect after all logout operations have completed.boolean
Before logout, allow the option to confirm on the web interface.boolean
Whether CAS should be allowed to redirect to an alternative location after logout.setConfirmLogout
(boolean confirmLogout) Before logout, allow the option to confirm on the web interface.setFollowServiceRedirects
(boolean followServiceRedirects) Whether CAS should be allowed to redirect to an alternative location after logout.setRedirectParameter
(List<String> redirectParameter) The target destination to which CAS should redirect after logout is indicated and extracted by a parameter name of your choosing here.setRedirectUrl
(String redirectUrl) A url to which CAS must immediately redirect after all logout operations have completed.
-
Constructor Details
-
LogoutProperties
public LogoutProperties()
-
-
Method Details
-
getRedirectParameter
The target destination to which CAS should redirect after logout is indicated and extracted by a parameter name of your choosing here. If none specified, the default will be used asservice
. -
isFollowServiceRedirects
public boolean isFollowServiceRedirects()Whether CAS should be allowed to redirect to an alternative location after logout. -
isConfirmLogout
public boolean isConfirmLogout()Before logout, allow the option to confirm on the web interface. -
getRedirectUrl
A url to which CAS must immediately redirect after all logout operations have completed. Typically useful in scenarios where CAS is acting as a proxy and needs to redirect to an external identity provider's logout endpoint in order to remove a session, etc. -
setRedirectParameter
The target destination to which CAS should redirect after logout is indicated and extracted by a parameter name of your choosing here. If none specified, the default will be used asservice
.- Returns:
this
.
-
setFollowServiceRedirects
Whether CAS should be allowed to redirect to an alternative location after logout.- Returns:
this
.
-
setConfirmLogout
Before logout, allow the option to confirm on the web interface.- Returns:
this
.
-
setRedirectUrl
A url to which CAS must immediately redirect after all logout operations have completed. Typically useful in scenarios where CAS is acting as a proxy and needs to redirect to an external identity provider's logout endpoint in order to remove a session, etc.- Returns:
this
.
-