Class StubPrincipalAttributesProperties

java.lang.Object
org.apereo.cas.configuration.model.core.authentication.StubPrincipalAttributesProperties
All Implemented Interfaces:
Serializable

@RequiresModule(name="cas-server-support-person-directory", automated=true) public class StubPrincipalAttributesProperties extends Object implements Serializable
Since:
5.2.0
See Also:
  • Constructor Details

    • StubPrincipalAttributesProperties

      public StubPrincipalAttributesProperties()
  • Method Details

    • getAttributes

      public Map<String,String> getAttributes()
      Static attributes that need to be mapped to a hardcoded value belong here. The structure follows a key-value pair where key is the attribute name and value is the attribute value. The key is the attribute fetched from the source and the value is the attribute name CAS should use for virtual renames.

      Attributes may be allowed to be virtually renamed and remapped. The key in the attribute map is the original attribute, and the value should be the virtually-renamed attribute.

    • getId

      public String getId()
      A value can be assigned to this field to uniquely identify this resolver.
    • getOrder

      public int getOrder()
      The order of this attribute repository in the chain of repositories. Can be used to explicitly position this source in chain and affects merging strategies.
    • getState

      public AttributeRepositoryStates getState()
      Whether attribute resolution based on this source is enabled.
    • setAttributes

      public StubPrincipalAttributesProperties setAttributes(Map<String,String> attributes)
      Static attributes that need to be mapped to a hardcoded value belong here. The structure follows a key-value pair where key is the attribute name and value is the attribute value. The key is the attribute fetched from the source and the value is the attribute name CAS should use for virtual renames.

      Attributes may be allowed to be virtually renamed and remapped. The key in the attribute map is the original attribute, and the value should be the virtually-renamed attribute.

      Returns:
      this.
    • setId

      A value can be assigned to this field to uniquely identify this resolver.
      Returns:
      this.
    • setOrder

      public StubPrincipalAttributesProperties setOrder(int order)
      The order of this attribute repository in the chain of repositories. Can be used to explicitly position this source in chain and affects merging strategies.
      Returns:
      this.
    • setState

      Whether attribute resolution based on this source is enabled.
      Returns:
      this.