public class GroovyScriptAttributeReleasePolicy extends AbstractRegisteredServiceAttributeReleasePolicy
GroovyScriptAttributeReleasePolicy that attempts to release attributes
based on the execution result of an external groovy script.| Constructor and Description |
|---|
GroovyScriptAttributeReleasePolicy() |
GroovyScriptAttributeReleasePolicy(java.lang.String groovyScript) |
| Modifier and Type | Method and Description |
|---|---|
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> attributes,
org.apereo.cas.services.RegisteredService service)
Gets the attributes internally from the implementation.
|
java.lang.String |
getGroovyScript() |
void |
setGroovyScript(java.lang.String groovyScript) |
equals, getAttributeFilter, getAttributes, getPrincipalAttributesRepository, getPrincipalIdAttribute, getReleasedByDefaultAttributes, hashCode, insertPrincipalIdAsAttributeIfNeeded, isAuthorizedToReleaseCredentialPassword, isAuthorizedToReleaseProxyGrantingTicket, isExcludeDefaultAttributes, returnFinalAttributesCollection, setAttributeFilter, setAuthorizedToReleaseCredentialPassword, setAuthorizedToReleaseProxyGrantingTicket, setExcludeDefaultAttributes, setPrincipalAttributesRepository, setPrincipalIdAttribute, toStringpublic GroovyScriptAttributeReleasePolicy()
public GroovyScriptAttributeReleasePolicy(java.lang.String groovyScript)
public java.lang.String getGroovyScript()
public void setGroovyScript(java.lang.String groovyScript)
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> attributes,
org.apereo.cas.services.RegisteredService service)
AbstractRegisteredServiceAttributeReleasePolicygetAttributesInternal in class AbstractRegisteredServiceAttributeReleasePolicyprincipal - the principalattributes - the principal attributesservice - the service