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 Summary
Modifier and TypeMethodDescriptionboolean
org.apereo.cas.configuration.model.core.authentication.PrincipalAttributesCoreProperties.MergingStrategyTypes
The merging strategy that deals with existing principal attributes and those that are retrieved from the source.int
hashCode()
boolean
setAttributeRepositoryIds
(Set<String> attributeRepositoryIds) setIgnoreResolvedAttributes
(boolean ignoreResolvedAttributes) 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.Methods inherited from class java.lang.Object
getClass, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.apereo.cas.authentication.principal.RegisteredServicePrincipalAttributesRepository
getAttributes, update
-
Method Details
-
equals
-
hashCode
public int hashCode() -
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
- Specified by:
getAttributeRepositoryIds
in interfaceorg.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
.
-