Class AbstractPrincipalAttributesRepository

java.lang.Object
org.apereo.cas.authentication.principal.cache.AbstractPrincipalAttributesRepository
All Implemented Interfaces:
Serializable, org.apereo.cas.authentication.principal.RegisteredServicePrincipalAttributesRepository
Direct Known Subclasses:
CachingPrincipalAttributesRepository, DefaultPrincipalAttributesRepository

public abstract class AbstractPrincipalAttributesRepository extends Object implements org.apereo.cas.authentication.principal.RegisteredServicePrincipalAttributesRepository
Parent class for retrieval principals attributes, provides operations around caching, merging of attributes.
Since:
4.2
See Also:
  • Method Details

    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • getMergingStrategy

      public org.apereo.cas.configuration.model.core.authentication.PrincipalAttributesCoreProperties.MergingStrategyTypes getMergingStrategy()
      The merging strategy that deals with existing principal attributes and those that are retrieved from the source. By default, existing attributes are ignored and the source is always consulted.
    • setMergingStrategy

      public AbstractPrincipalAttributesRepository setMergingStrategy(org.apereo.cas.configuration.model.core.authentication.PrincipalAttributesCoreProperties.MergingStrategyTypes mergingStrategy)
      The merging strategy that deals with existing principal attributes and those that are retrieved from the source. By default, existing attributes are ignored and the source is always consulted.
      Returns:
      this.
    • getAttributeRepositoryIds

      public Set<String> getAttributeRepositoryIds()
      Specified by:
      getAttributeRepositoryIds in interface org.apereo.cas.authentication.principal.RegisteredServicePrincipalAttributesRepository
    • setAttributeRepositoryIds

      public AbstractPrincipalAttributesRepository setAttributeRepositoryIds(Set<String> attributeRepositoryIds)
      Returns:
      this.
    • isIgnoreResolvedAttributes

      public boolean isIgnoreResolvedAttributes()
    • setIgnoreResolvedAttributes

      public AbstractPrincipalAttributesRepository setIgnoreResolvedAttributes(boolean ignoreResolvedAttributes)
      Returns:
      this.