Class AmazonCognitoAuthenticationProperties

java.lang.Object
org.apereo.cas.configuration.model.support.aws.BaseAmazonWebServicesProperties
org.apereo.cas.configuration.model.support.cognito.AmazonCognitoAuthenticationProperties
All Implemented Interfaces:
Serializable, CasFeatureModule

@RequiresModule(name="cas-server-support-aws-cognito-authentication") public class AmazonCognitoAuthenticationProperties extends BaseAmazonWebServicesProperties
Since:
6.0.0
See Also:
  • Constructor Details

    • AmazonCognitoAuthenticationProperties

      public AmazonCognitoAuthenticationProperties()
  • Method Details

    • getName

      public String getName()
      The name of the authentication handler.
    • getOrder

      public int getOrder()
      The order of this authentication handler in the chain.
    • getPasswordEncoder

      public PasswordEncoderProperties getPasswordEncoder()
      Password encoding properties.
    • getPrincipalTransformation

      public PrincipalTransformationProperties getPrincipalTransformation()
      Principal transformation properties.
    • getClientId

      public String getClientId()
      The application client id, created in Cognito without a secret key.
    • getUserPoolId

      public String getUserPoolId()
      The user pool identifiers where accounts may be located.
    • getMappedAttributes

      public Map<String,String> getMappedAttributes()
      Map of attributes to rename after fetching from the user pool. Mapped attributes are defined using a key-value structure where CAS allows the attribute name/key to be renamed virtually to a different attribute. The key is the attribute fetched from the user pool and the value is the attribute name CAS should use for virtual renames.
    • getState

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

      The name of the authentication handler.
      Returns:
      this.
    • setOrder

      public AmazonCognitoAuthenticationProperties setOrder(int order)
      The order of this authentication handler in the chain.
      Returns:
      this.
    • setPasswordEncoder

      public AmazonCognitoAuthenticationProperties setPasswordEncoder(PasswordEncoderProperties passwordEncoder)
      Password encoding properties.
      Returns:
      this.
    • setPrincipalTransformation

      public AmazonCognitoAuthenticationProperties setPrincipalTransformation(PrincipalTransformationProperties principalTransformation)
      Principal transformation properties.
      Returns:
      this.
    • setClientId

      public AmazonCognitoAuthenticationProperties setClientId(String clientId)
      The application client id, created in Cognito without a secret key.
      Returns:
      this.
    • setUserPoolId

      public AmazonCognitoAuthenticationProperties setUserPoolId(String userPoolId)
      The user pool identifiers where accounts may be located.
      Returns:
      this.
    • setMappedAttributes

      public AmazonCognitoAuthenticationProperties setMappedAttributes(Map<String,String> mappedAttributes)
      Map of attributes to rename after fetching from the user pool. Mapped attributes are defined using a key-value structure where CAS allows the attribute name/key to be renamed virtually to a different attribute. The key is the attribute fetched from the user pool and the value is the attribute name CAS should use for virtual renames.
      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.