Class RememberMeAuthenticationProperties
java.lang.Object
org.apereo.cas.configuration.model.core.ticket.RememberMeAuthenticationProperties
- All Implemented Interfaces:
Serializable
@RequiresModule(name="cas-server-core-tickets",
automated=true)
public class RememberMeAuthenticationProperties
extends Object
implements Serializable
This is
RememberMeAuthenticationProperties
.- Since:
- 6.4.0
- See Also:
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionRegular expression that, when defined, forces CAS to create a remember-me authentication session if the current client ip (remote) address matches this pattern.Regular expression that, when defined, forces CAS to create a remember-me authentication session if the current user-agent matches this pattern.Time in seconds after which remember-me enabled SSO session will be destroyed.boolean
Flag to indicate whether remember-me facility is enabled.setEnabled
(boolean enabled) Flag to indicate whether remember-me facility is enabled.setSupportedIpAddresses
(String supportedIpAddresses) Regular expression that, when defined, forces CAS to create a remember-me authentication session if the current client ip (remote) address matches this pattern.setSupportedUserAgents
(String supportedUserAgents) Regular expression that, when defined, forces CAS to create a remember-me authentication session if the current user-agent matches this pattern.setTimeToKillInSeconds
(String timeToKillInSeconds) Time in seconds after which remember-me enabled SSO session will be destroyed.
-
Constructor Details
-
RememberMeAuthenticationProperties
public RememberMeAuthenticationProperties()
-
-
Method Details
-
isEnabled
public boolean isEnabled()Flag to indicate whether remember-me facility is enabled. -
getTimeToKillInSeconds
Time in seconds after which remember-me enabled SSO session will be destroyed. -
getSupportedUserAgents
Regular expression that, when defined, forces CAS to create a remember-me authentication session if the current user-agent matches this pattern. If a match is not found, remember-me is ignored. If left undefined, remember-me authentication will proceed with the default CAS behavior. -
getSupportedIpAddresses
Regular expression that, when defined, forces CAS to create a remember-me authentication session if the current client ip (remote) address matches this pattern. If a match is not found, remember-me is ignored. If left undefined, remember-me authentication will proceed with the default CAS behavior. -
setEnabled
Flag to indicate whether remember-me facility is enabled.- Returns:
this
.
-
setTimeToKillInSeconds
Time in seconds after which remember-me enabled SSO session will be destroyed.- Returns:
this
.
-
setSupportedUserAgents
Regular expression that, when defined, forces CAS to create a remember-me authentication session if the current user-agent matches this pattern. If a match is not found, remember-me is ignored. If left undefined, remember-me authentication will proceed with the default CAS behavior.- Returns:
this
.
-
setSupportedIpAddresses
Regular expression that, when defined, forces CAS to create a remember-me authentication session if the current client ip (remote) address matches this pattern. If a match is not found, remember-me is ignored. If left undefined, remember-me authentication will proceed with the default CAS behavior.- Returns:
this
.
-