Package org.apereo.cas.services
Class ReturnAllowedAttributeReleasePolicy
java.lang.Object
org.apereo.cas.services.AbstractRegisteredServiceAttributeReleasePolicy
org.apereo.cas.services.ReturnAllowedAttributeReleasePolicy
- All Implemented Interfaces:
Serializable
,org.apereo.cas.services.RegisteredServiceAttributeReleasePolicy
,org.springframework.core.Ordered
public class ReturnAllowedAttributeReleasePolicy
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 TypeMethodDescriptionboolean
getAttributesInternal
(org.apereo.cas.services.RegisteredServiceAttributeReleasePolicyContext context, Map<String, List<Object>> attributes) 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
-
ReturnAllowedAttributeReleasePolicy
public ReturnAllowedAttributeReleasePolicy() -
ReturnAllowedAttributeReleasePolicy
-
-
Method Details
-
getAttributesInternal
public Map<String,List<Object>> getAttributesInternal(org.apereo.cas.services.RegisteredServiceAttributeReleasePolicyContext context, Map<String, List<Object>> attributes) throws Throwable- Throws:
Throwable
-
toString
- Overrides:
toString
in classAbstractRegisteredServiceAttributeReleasePolicy
-
getAllowedAttributes
-
setAllowedAttributes
- Returns:
this
.
-
equals
- Overrides:
equals
in classAbstractRegisteredServiceAttributeReleasePolicy
-
hashCode
public int hashCode()- Overrides:
hashCode
in classAbstractRegisteredServiceAttributeReleasePolicy
-