Package org.apereo.cas.services
Class ReturnEncryptedAttributeReleasePolicy
java.lang.Object
org.apereo.cas.services.AbstractRegisteredServiceAttributeReleasePolicy
org.apereo.cas.services.ReturnEncryptedAttributeReleasePolicy
- All Implemented Interfaces:
Serializable
,org.apereo.cas.services.RegisteredServiceAttributeReleasePolicy
,org.springframework.core.Ordered
public class ReturnEncryptedAttributeReleasePolicy
extends AbstractRegisteredServiceAttributeReleasePolicy
Return only the collection of allowed attributes out of what's resolved
for the principal.
- Since:
- 4.1.0
- See Also:
-
Field Summary
Fields inherited from interface org.springframework.core.Ordered
HIGHEST_PRECEDENCE, LOWEST_PRECEDENCE
-
Constructor Summary
-
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()
setAllowedAttributes
(List<String> allowedAttributes) toString()
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
-
ReturnEncryptedAttributeReleasePolicy
public ReturnEncryptedAttributeReleasePolicy() -
ReturnEncryptedAttributeReleasePolicy
-
-
Method Details
-
getAttributesInternal
-
determineRequestedAttributeDefinitions
-
toString
- Overrides:
toString
in classAbstractRegisteredServiceAttributeReleasePolicy
-
getAllowedAttributes
-
setAllowedAttributes
- Returns:
this
.
-
equals
- Overrides:
equals
in classAbstractRegisteredServiceAttributeReleasePolicy
-
hashCode
public int hashCode()- Overrides:
hashCode
in classAbstractRegisteredServiceAttributeReleasePolicy
-