Class CoreCasSimpleMultifactorAuthenticationTokenProperties
java.lang.Object
org.apereo.cas.configuration.model.support.mfa.simple.CoreCasSimpleMultifactorAuthenticationTokenProperties
- All Implemented Interfaces:
Serializable
@RequiresModule(name="cas-server-support-simple-mfa")
public class CoreCasSimpleMultifactorAuthenticationTokenProperties
extends Object
implements Serializable
- Since:
- 6.6.0
- See Also:
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionlong
Time in seconds that CAS tokens should be considered live in CAS server.int
The length of the generated token.setTimeToKillInSeconds
(long timeToKillInSeconds) Time in seconds that CAS tokens should be considered live in CAS server.setTokenLength
(int tokenLength) The length of the generated token.
-
Constructor Details
-
CoreCasSimpleMultifactorAuthenticationTokenProperties
public CoreCasSimpleMultifactorAuthenticationTokenProperties()
-
-
Method Details
-
getTimeToKillInSeconds
public long getTimeToKillInSeconds()Time in seconds that CAS tokens should be considered live in CAS server. -
getTokenLength
public int getTokenLength()The length of the generated token. -
setTimeToKillInSeconds
public CoreCasSimpleMultifactorAuthenticationTokenProperties setTimeToKillInSeconds(long timeToKillInSeconds) Time in seconds that CAS tokens should be considered live in CAS server.- Returns:
this
.
-
setTokenLength
The length of the generated token.- Returns:
this
.
-