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:
  • 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 interface org.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 interface org.apereo.cas.services.RegisteredServiceAttributeReleasePolicy
      Throws:
      Throwable
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • getAttributeFilter

      public org.apereo.cas.services.RegisteredServiceAttributeFilter getAttributeFilter()
    • getPrincipalAttributesRepository

      public org.apereo.cas.authentication.principal.RegisteredServicePrincipalAttributesRepository getPrincipalAttributesRepository()
      Specified by:
      getPrincipalAttributesRepository in interface org.apereo.cas.services.RegisteredServiceAttributeReleasePolicy
    • getConsentPolicy

      public org.apereo.cas.services.RegisteredServiceConsentPolicy getConsentPolicy()
      Specified by:
      getConsentPolicy in interface org.apereo.cas.services.RegisteredServiceAttributeReleasePolicy
    • isAuthorizedToReleaseCredentialPassword

      public boolean isAuthorizedToReleaseCredentialPassword()
      Specified by:
      isAuthorizedToReleaseCredentialPassword in interface org.apereo.cas.services.RegisteredServiceAttributeReleasePolicy
    • isAuthorizedToReleaseProxyGrantingTicket

      public boolean isAuthorizedToReleaseProxyGrantingTicket()
      Specified by:
      isAuthorizedToReleaseProxyGrantingTicket in interface org.apereo.cas.services.RegisteredServiceAttributeReleasePolicy
    • isExcludeDefaultAttributes

      public boolean isExcludeDefaultAttributes()
    • isAuthorizedToReleaseAuthenticationAttributes

      public boolean isAuthorizedToReleaseAuthenticationAttributes()
      Specified by:
      isAuthorizedToReleaseAuthenticationAttributes in interface org.apereo.cas.services.RegisteredServiceAttributeReleasePolicy
    • getPrincipalIdAttribute

      public String getPrincipalIdAttribute()
    • getOrder

      public int getOrder()
      Specified by:
      getOrder in interface org.springframework.core.Ordered
      Specified by:
      getOrder in interface org.apereo.cas.services.RegisteredServiceAttributeReleasePolicy
    • getCanonicalizationMode

      public String getCanonicalizationMode()
    • getActivationCriteria

      public org.apereo.cas.services.RegisteredServiceAttributeReleaseActivationCriteria getActivationCriteria()
      Specified by:
      getActivationCriteria in interface org.apereo.cas.services.RegisteredServiceAttributeReleasePolicy
    • setAttributeFilter

      public void setAttributeFilter(org.apereo.cas.services.RegisteredServiceAttributeFilter attributeFilter)
      Specified by:
      setAttributeFilter in interface org.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

      public void setPrincipalIdAttribute(String principalIdAttribute)
    • setOrder

      public void setOrder(int order)
    • setCanonicalizationMode

      public void setCanonicalizationMode(String canonicalizationMode)
    • setActivationCriteria

      public void setActivationCriteria(org.apereo.cas.services.RegisteredServiceAttributeReleaseActivationCriteria activationCriteria)
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object