public class ReturnMappedAttributeReleasePolicy extends AbstractRegisteredServiceAttributeReleasePolicy
| Constructor and Description |
|---|
ReturnMappedAttributeReleasePolicy()
Instantiates a new Return mapped attribute release policy.
|
ReturnMappedAttributeReleasePolicy(java.util.Map<java.lang.String,java.lang.String> allowedAttributes)
Instantiates a new Return mapped attribute release policy.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object obj) |
java.util.Map<java.lang.String,java.lang.String> |
getAllowedAttributes()
Gets the allowed attributes.
|
protected java.util.Map<java.lang.String,java.lang.Object> |
getAttributesInternal(org.apereo.cas.authentication.principal.Principal principal,
java.util.Map<java.lang.String,java.lang.Object> attrs,
org.apereo.cas.services.RegisteredService service)
Gets the attributes internally from the implementation.
|
int |
hashCode() |
void |
setAllowedAttributes(java.util.Map<java.lang.String,java.lang.String> allowed)
Sets the allowed attributes.
|
java.lang.String |
toString() |
getAttributeFilter, getAttributes, getPrincipalAttributesRepository, getPrincipalIdAttribute, getReleasedByDefaultAttributes, insertPrincipalIdAsAttributeIfNeeded, isAuthorizedToReleaseCredentialPassword, isAuthorizedToReleaseProxyGrantingTicket, isExcludeDefaultAttributes, returnFinalAttributesCollection, setAttributeFilter, setAuthorizedToReleaseCredentialPassword, setAuthorizedToReleaseProxyGrantingTicket, setExcludeDefaultAttributes, setPrincipalAttributesRepository, setPrincipalIdAttributepublic ReturnMappedAttributeReleasePolicy()
public ReturnMappedAttributeReleasePolicy(java.util.Map<java.lang.String,java.lang.String> allowedAttributes)
allowedAttributes - the allowed attributespublic void setAllowedAttributes(java.util.Map<java.lang.String,java.lang.String> allowed)
allowed - the allowed attributes.public java.util.Map<java.lang.String,java.lang.String> getAllowedAttributes()
protected java.util.Map<java.lang.String,java.lang.Object> getAttributesInternal(org.apereo.cas.authentication.principal.Principal principal,
java.util.Map<java.lang.String,java.lang.Object> attrs,
org.apereo.cas.services.RegisteredService service)
AbstractRegisteredServiceAttributeReleasePolicygetAttributesInternal in class AbstractRegisteredServiceAttributeReleasePolicyprincipal - the principalattrs - the principal attributesservice - the servicepublic boolean equals(java.lang.Object obj)
equals in class AbstractRegisteredServiceAttributeReleasePolicypublic int hashCode()
hashCode in class AbstractRegisteredServiceAttributeReleasePolicypublic java.lang.String toString()
toString in class AbstractRegisteredServiceAttributeReleasePolicy