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 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

      public CoreCasSimpleMultifactorAuthenticationTokenProperties setTokenLength(int tokenLength)
      The length of the generated token.
      Returns:
      this.