Package org.apereo.cas.services
Class ReturnRestfulAttributeReleasePolicy
java.lang.Object
org.apereo.cas.services.AbstractRegisteredServiceAttributeReleasePolicy
org.apereo.cas.services.BaseMappedAttributeReleasePolicy
org.apereo.cas.services.ReturnRestfulAttributeReleasePolicy
- All Implemented Interfaces:
Serializable
,org.apereo.cas.services.RegisteredServiceAttributeReleasePolicy
,org.springframework.core.Ordered
Return a collection of allowed attributes for the principal based on an external REST endpoint.
- 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()
setEndpoint
(String endpoint) setHeaders
(Map<String, String> headers) 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
-
ReturnRestfulAttributeReleasePolicy
public ReturnRestfulAttributeReleasePolicy()
-
-
Method Details
-
getAttributesInternal
-
toString
- Overrides:
toString
in classBaseMappedAttributeReleasePolicy
-
getMethod
-
getEndpoint
-
getHeaders
-
setMethod
- Returns:
this
.
-
setEndpoint
- Returns:
this
.
-
setHeaders
- Returns:
this
.
-
equals
- Overrides:
equals
in classBaseMappedAttributeReleasePolicy
-
hashCode
public int hashCode()- Overrides:
hashCode
in classBaseMappedAttributeReleasePolicy
-