Package org.apereo.cas.services
Class ReturnMappedAttributeReleasePolicy
java.lang.Object
org.apereo.cas.services.AbstractRegisteredServiceAttributeReleasePolicy
org.apereo.cas.services.BaseMappedAttributeReleasePolicy
org.apereo.cas.services.ReturnMappedAttributeReleasePolicy
- All Implemented Interfaces:
Serializable
,org.apereo.cas.services.RegisteredServiceAttributeReleasePolicy
,org.springframework.core.Ordered
Return a collection of allowed attributes for the principal, but additionally,
offers the ability to rename attributes on a per-service level.
- Since:
- 4.1.0
- See Also:
-
Field Summary
Fields inherited from interface org.springframework.core.Ordered
HIGHEST_PRECEDENCE, LOWEST_PRECEDENCE
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiondetermineRequestedAttributeDefinitions
(org.apereo.cas.services.RegisteredServiceAttributeReleasePolicyContext context) boolean
getAttributesInternal
(org.apereo.cas.services.RegisteredServiceAttributeReleasePolicyContext context, Map<String, List<Object>> attrs) int
hashCode()
toString()
Methods inherited from class org.apereo.cas.services.BaseMappedAttributeReleasePolicy
getAllowedAttributes, setAllowedAttributes
Methods inherited from class org.apereo.cas.services.AbstractRegisteredServiceAttributeReleasePolicy
getActivationCriteria, getAttributeFilter, getAttributes, getCanonicalizationMode, getConsentableAttributes, getConsentPolicy, getOrder, getPrincipalAttributesRepository, getPrincipalIdAttribute, isAuthorizedToReleaseAuthenticationAttributes, isAuthorizedToReleaseCredentialPassword, isAuthorizedToReleaseProxyGrantingTicket, isExcludeDefaultAttributes, postLoad, setActivationCriteria, setAttributeFilter, setAuthorizedToReleaseAuthenticationAttributes, setAuthorizedToReleaseCredentialPassword, setAuthorizedToReleaseProxyGrantingTicket, setCanonicalizationMode, setConsentPolicy, setExcludeDefaultAttributes, setOrder, setPrincipalAttributesRepository, setPrincipalIdAttribute
Methods inherited from interface org.apereo.cas.services.RegisteredServiceAttributeReleasePolicy
getName
-
Constructor Details
-
ReturnMappedAttributeReleasePolicy
public ReturnMappedAttributeReleasePolicy()
-
-
Method Details
-
getAttributesInternal
-
determineRequestedAttributeDefinitions
-
toString
- Overrides:
toString
in classBaseMappedAttributeReleasePolicy
-
equals
- Overrides:
equals
in classBaseMappedAttributeReleasePolicy
-
hashCode
public int hashCode()- Overrides:
hashCode
in classBaseMappedAttributeReleasePolicy
-