Class TokenAuthenticationProperties

java.lang.Object
org.apereo.cas.configuration.model.support.token.TokenAuthenticationProperties
All Implemented Interfaces:
Serializable, CasFeatureModule

@RequiresModule(name="cas-server-support-token-webflow") public class TokenAuthenticationProperties extends Object implements Serializable, CasFeatureModule
Since:
5.0.0
See Also:
  • Constructor Details

    • TokenAuthenticationProperties

      public TokenAuthenticationProperties()
  • Method Details

    • getCredentialCriteria

      public String getCredentialCriteria()
      A number of authentication handlers are allowed to determine whether they can operate on the provided credential and as such lend themselves to be tried and tested during the authentication handler selection phase. The credential criteria may be one of the following options:
      • 1) A regular expression pattern that is tested against the credential identifier.
      • 2) A fully qualified class name of your own design that implements Predicate.
      • 3) Path to an external Groovy script that implements the same interface.
    • getCrypto

      Crypto settings.
    • getWebflow

      The webflow configuration.
    • getName

      public String getName()
      Name of the authentication handler.
    • getState

      public AuthenticationHandlerStates getState()
      Define the scope and state of this authentication handler and the lifecycle in which it can be invoked or activated.
    • getOrder

      public int getOrder()
      Order of the authentication handler in the chain.
    • isSsoTokenEnabled

      public boolean isSsoTokenEnabled()
      When set to true, will generate a token and store it as an authentication attribute into the single sign-on session. This token can be used later on for token-based authentication attempts, and should allow SSO access to the server.
    • setCredentialCriteria

      public TokenAuthenticationProperties setCredentialCriteria(String credentialCriteria)
      A number of authentication handlers are allowed to determine whether they can operate on the provided credential and as such lend themselves to be tried and tested during the authentication handler selection phase. The credential criteria may be one of the following options:
      • 1) A regular expression pattern that is tested against the credential identifier.
      • 2) A fully qualified class name of your own design that implements Predicate.
      • 3) Path to an external Groovy script that implements the same interface.
      Returns:
      this.
    • setCrypto

      Crypto settings.
      Returns:
      this.
    • setWebflow

      The webflow configuration.
      Returns:
      this.
    • setName

      public TokenAuthenticationProperties setName(String name)
      Name of the authentication handler.
      Returns:
      this.
    • setState

      Define the scope and state of this authentication handler and the lifecycle in which it can be invoked or activated.
      Returns:
      this.
    • setOrder

      public TokenAuthenticationProperties setOrder(int order)
      Order of the authentication handler in the chain.
      Returns:
      this.
    • setSsoTokenEnabled

      public TokenAuthenticationProperties setSsoTokenEnabled(boolean ssoTokenEnabled)
      When set to true, will generate a token and store it as an authentication attribute into the single sign-on session. This token can be used later on for token-based authentication attempts, and should allow SSO access to the server.
      Returns:
      this.