Class ChainingAttributeReleasePolicy

java.lang.Object
org.apereo.cas.services.ChainingAttributeReleasePolicy
All Implemented Interfaces:
Serializable, org.apereo.cas.services.RegisteredServiceAttributeReleasePolicy, org.apereo.cas.services.RegisteredServiceChainingAttributeReleasePolicy, org.springframework.core.Ordered

public class ChainingAttributeReleasePolicy extends Object implements org.apereo.cas.services.RegisteredServiceChainingAttributeReleasePolicy
Since:
5.1.0
See Also:
  • Field Summary

    Fields inherited from interface org.springframework.core.Ordered

    HIGHEST_PRECEDENCE, LOWEST_PRECEDENCE
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    org.apereo.cas.services.RegisteredServiceChainingAttributeReleasePolicy
    addPolicies(org.apereo.cas.services.RegisteredServiceAttributeReleasePolicy... policies)
     
    boolean
     
    getAttributes(org.apereo.cas.services.RegisteredServiceAttributeReleasePolicyContext context)
     
    getConsentableAttributes(org.apereo.cas.services.RegisteredServiceAttributeReleasePolicyContext context)
     
    org.apereo.cas.services.RegisteredServiceConsentPolicy
     
    org.apereo.cas.configuration.model.core.authentication.PrincipalAttributesCoreProperties.MergingStrategyTypes
     
    int
     
    List<org.apereo.cas.services.RegisteredServiceAttributeReleasePolicy>
     
    org.apereo.cas.authentication.principal.RegisteredServicePrincipalAttributesRepository
     
    int
     
    void
    setMergingPolicy(org.apereo.cas.configuration.model.core.authentication.PrincipalAttributesCoreProperties.MergingStrategyTypes mergingPolicy)
     
    void
    setOrder(int order)
     
    void
    setPolicies(List<org.apereo.cas.services.RegisteredServiceAttributeReleasePolicy> policies)
     
    int
     
     

    Methods inherited from class java.lang.Object

    getClass, notify, notifyAll, wait, wait, wait

    Methods inherited from interface org.apereo.cas.services.RegisteredServiceAttributeReleasePolicy

    getActivationCriteria, getName, isAuthorizedToReleaseAuthenticationAttributes, isAuthorizedToReleaseCredentialPassword, isAuthorizedToReleaseProxyGrantingTicket, setAttributeFilter

    Methods inherited from interface org.apereo.cas.services.RegisteredServiceChainingAttributeReleasePolicy

    addPolicies
  • Constructor Details

    • ChainingAttributeReleasePolicy

      public ChainingAttributeReleasePolicy()
  • Method Details

    • getConsentPolicy

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

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

      public Map<String,List<Object>> getAttributes(org.apereo.cas.services.RegisteredServiceAttributeReleasePolicyContext context)
      Specified by:
      getAttributes in interface org.apereo.cas.services.RegisteredServiceAttributeReleasePolicy
    • getConsentableAttributes

      public Map<String,List<Object>> getConsentableAttributes(org.apereo.cas.services.RegisteredServiceAttributeReleasePolicyContext context)
      Specified by:
      getConsentableAttributes in interface org.apereo.cas.services.RegisteredServiceAttributeReleasePolicy
    • addPolicies

      @CanIgnoreReturnValue public org.apereo.cas.services.RegisteredServiceChainingAttributeReleasePolicy addPolicies(org.apereo.cas.services.RegisteredServiceAttributeReleasePolicy... policies)
      Specified by:
      addPolicies in interface org.apereo.cas.services.RegisteredServiceChainingAttributeReleasePolicy
    • size

      public int size()
      Specified by:
      size in interface org.apereo.cas.services.RegisteredServiceChainingAttributeReleasePolicy
    • toString

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

      public void setPolicies(List<org.apereo.cas.services.RegisteredServiceAttributeReleasePolicy> policies)
    • setMergingPolicy

      public void setMergingPolicy(org.apereo.cas.configuration.model.core.authentication.PrincipalAttributesCoreProperties.MergingStrategyTypes mergingPolicy)
    • setOrder

      public void setOrder(int order)
    • getPolicies

      public List<org.apereo.cas.services.RegisteredServiceAttributeReleasePolicy> getPolicies()
      Specified by:
      getPolicies in interface org.apereo.cas.services.RegisteredServiceChainingAttributeReleasePolicy
    • getMergingPolicy

      public org.apereo.cas.configuration.model.core.authentication.PrincipalAttributesCoreProperties.MergingStrategyTypes getMergingPolicy()
    • getOrder

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

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

      public int hashCode()
      Overrides:
      hashCode in class Object