Package org.apereo.cas.services
Class AbstractRegisteredServiceAttributeReleasePolicy
java.lang.Object
org.apereo.cas.services.AbstractRegisteredServiceAttributeReleasePolicy
- All Implemented Interfaces:
Serializable
,org.apereo.cas.services.RegisteredServiceAttributeReleasePolicy
,org.springframework.core.Ordered
- Direct Known Subclasses:
BaseMappedAttributeReleasePolicy
,DenyAllAttributeReleasePolicy
,GroovyScriptAttributeReleasePolicy
,PatternMatchingAttributeReleasePolicy
,ReturnAllAttributeReleasePolicy
,ReturnAllowedAttributeReleasePolicy
,ReturnEncryptedAttributeReleasePolicy
,ReturnStaticAttributeReleasePolicy
public abstract class AbstractRegisteredServiceAttributeReleasePolicy
extends Object
implements org.apereo.cas.services.RegisteredServiceAttributeReleasePolicy
Abstract release policy for attributes, provides common shared settings such as loggers and attribute filter config.
Subclasses are to provide the behavior for attribute retrieval.
- Since:
- 4.1.0
- See Also:
-
Field Summary
Fields inherited from interface org.springframework.core.Ordered
HIGHEST_PRECEDENCE, LOWEST_PRECEDENCE
-
Method Summary
Modifier and TypeMethodDescriptionboolean
org.apereo.cas.services.RegisteredServiceAttributeReleaseActivationCriteria
org.apereo.cas.services.RegisteredServiceAttributeFilter
getAttributes
(org.apereo.cas.services.RegisteredServiceAttributeReleasePolicyContext context) getConsentableAttributes
(org.apereo.cas.services.RegisteredServiceAttributeReleasePolicyContext context) org.apereo.cas.services.RegisteredServiceConsentPolicy
int
getOrder()
org.apereo.cas.authentication.principal.RegisteredServicePrincipalAttributesRepository
int
hashCode()
boolean
boolean
boolean
boolean
void
postLoad()
Post load, after having loaded the bean via JPA, etc.void
setActivationCriteria
(org.apereo.cas.services.RegisteredServiceAttributeReleaseActivationCriteria activationCriteria) void
setAttributeFilter
(org.apereo.cas.services.RegisteredServiceAttributeFilter attributeFilter) void
setAuthorizedToReleaseAuthenticationAttributes
(boolean authorizedToReleaseAuthenticationAttributes) void
setAuthorizedToReleaseCredentialPassword
(boolean authorizedToReleaseCredentialPassword) void
setAuthorizedToReleaseProxyGrantingTicket
(boolean authorizedToReleaseProxyGrantingTicket) void
setCanonicalizationMode
(String canonicalizationMode) void
setConsentPolicy
(org.apereo.cas.services.RegisteredServiceConsentPolicy consentPolicy) void
setExcludeDefaultAttributes
(boolean excludeDefaultAttributes) void
setOrder
(int order) void
setPrincipalAttributesRepository
(org.apereo.cas.authentication.principal.RegisteredServicePrincipalAttributesRepository principalAttributesRepository) void
setPrincipalIdAttribute
(String principalIdAttribute) toString()
Methods inherited from interface org.apereo.cas.services.RegisteredServiceAttributeReleasePolicy
getName
-
Method Details
-
postLoad
public void postLoad()Post load, after having loaded the bean via JPA, etc. -
getAttributes
public Map<String,List<Object>> getAttributes(org.apereo.cas.services.RegisteredServiceAttributeReleasePolicyContext context) throws Throwable - Specified by:
getAttributes
in interfaceorg.apereo.cas.services.RegisteredServiceAttributeReleasePolicy
- Throws:
Throwable
-
getConsentableAttributes
public Map<String,List<Object>> getConsentableAttributes(org.apereo.cas.services.RegisteredServiceAttributeReleasePolicyContext context) throws Throwable - Specified by:
getConsentableAttributes
in interfaceorg.apereo.cas.services.RegisteredServiceAttributeReleasePolicy
- Throws:
Throwable
-
toString
-
getAttributeFilter
public org.apereo.cas.services.RegisteredServiceAttributeFilter getAttributeFilter() -
getPrincipalAttributesRepository
public org.apereo.cas.authentication.principal.RegisteredServicePrincipalAttributesRepository getPrincipalAttributesRepository()- Specified by:
getPrincipalAttributesRepository
in interfaceorg.apereo.cas.services.RegisteredServiceAttributeReleasePolicy
-
getConsentPolicy
public org.apereo.cas.services.RegisteredServiceConsentPolicy getConsentPolicy()- Specified by:
getConsentPolicy
in interfaceorg.apereo.cas.services.RegisteredServiceAttributeReleasePolicy
-
isAuthorizedToReleaseCredentialPassword
public boolean isAuthorizedToReleaseCredentialPassword()- Specified by:
isAuthorizedToReleaseCredentialPassword
in interfaceorg.apereo.cas.services.RegisteredServiceAttributeReleasePolicy
-
isAuthorizedToReleaseProxyGrantingTicket
public boolean isAuthorizedToReleaseProxyGrantingTicket()- Specified by:
isAuthorizedToReleaseProxyGrantingTicket
in interfaceorg.apereo.cas.services.RegisteredServiceAttributeReleasePolicy
-
isExcludeDefaultAttributes
public boolean isExcludeDefaultAttributes() -
isAuthorizedToReleaseAuthenticationAttributes
public boolean isAuthorizedToReleaseAuthenticationAttributes()- Specified by:
isAuthorizedToReleaseAuthenticationAttributes
in interfaceorg.apereo.cas.services.RegisteredServiceAttributeReleasePolicy
-
getPrincipalIdAttribute
-
getOrder
public int getOrder()- Specified by:
getOrder
in interfaceorg.springframework.core.Ordered
- Specified by:
getOrder
in interfaceorg.apereo.cas.services.RegisteredServiceAttributeReleasePolicy
-
getCanonicalizationMode
-
getActivationCriteria
public org.apereo.cas.services.RegisteredServiceAttributeReleaseActivationCriteria getActivationCriteria()- Specified by:
getActivationCriteria
in interfaceorg.apereo.cas.services.RegisteredServiceAttributeReleasePolicy
-
setAttributeFilter
public void setAttributeFilter(org.apereo.cas.services.RegisteredServiceAttributeFilter attributeFilter) - Specified by:
setAttributeFilter
in interfaceorg.apereo.cas.services.RegisteredServiceAttributeReleasePolicy
-
setPrincipalAttributesRepository
public void setPrincipalAttributesRepository(org.apereo.cas.authentication.principal.RegisteredServicePrincipalAttributesRepository principalAttributesRepository) -
setConsentPolicy
public void setConsentPolicy(org.apereo.cas.services.RegisteredServiceConsentPolicy consentPolicy) -
setAuthorizedToReleaseCredentialPassword
public void setAuthorizedToReleaseCredentialPassword(boolean authorizedToReleaseCredentialPassword) -
setAuthorizedToReleaseProxyGrantingTicket
public void setAuthorizedToReleaseProxyGrantingTicket(boolean authorizedToReleaseProxyGrantingTicket) -
setExcludeDefaultAttributes
public void setExcludeDefaultAttributes(boolean excludeDefaultAttributes) -
setAuthorizedToReleaseAuthenticationAttributes
public void setAuthorizedToReleaseAuthenticationAttributes(boolean authorizedToReleaseAuthenticationAttributes) -
setPrincipalIdAttribute
-
setOrder
public void setOrder(int order) -
setCanonicalizationMode
-
setActivationCriteria
public void setActivationCriteria(org.apereo.cas.services.RegisteredServiceAttributeReleaseActivationCriteria activationCriteria) -
equals
-
hashCode
public int hashCode()
-