Class ChainingAttributeReleasePolicy

  • All Implemented Interfaces:
    java.io.Serializable, org.apereo.cas.services.RegisteredServiceAttributeReleasePolicy, org.springframework.core.Ordered

    public class ChainingAttributeReleasePolicy
    extends java.lang.Object
    implements org.apereo.cas.services.RegisteredServiceAttributeReleasePolicy
    Since:
    5.1.0
    See Also:
    Serialized Form
    • Field Summary

      • Fields inherited from interface org.springframework.core.Ordered

        HIGHEST_PRECEDENCE, LOWEST_PRECEDENCE
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void addPolicies​(org.apereo.cas.services.RegisteredServiceAttributeReleasePolicy... policies)
      Add policies.
      void addPolicy​(org.apereo.cas.services.RegisteredServiceAttributeReleasePolicy policy)
      Add policy.
      java.util.Map<java.lang.String,​java.util.List<java.lang.Object>> getAttributes​(org.apereo.cas.authentication.principal.Principal p, org.apereo.cas.authentication.principal.Service selectedService, org.apereo.cas.services.RegisteredService service)  
      java.util.Map<java.lang.String,​java.util.List<java.lang.Object>> getConsentableAttributes​(org.apereo.cas.authentication.principal.Principal principal, org.apereo.cas.authentication.principal.Service selectedService, org.apereo.cas.services.RegisteredService service)  
      org.apereo.cas.services.RegisteredServiceConsentPolicy getConsentPolicy()  
      int size()
      Size int.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • Methods inherited from interface org.apereo.cas.services.RegisteredServiceAttributeReleasePolicy

        getName, getOrder, getPrincipalAttributesRepository, isAuthorizedToReleaseAuthenticationAttributes, isAuthorizedToReleaseCredentialPassword, isAuthorizedToReleaseProxyGrantingTicket, setAttributeFilter
    • Constructor Detail

      • ChainingAttributeReleasePolicy

        public ChainingAttributeReleasePolicy()
    • Method Detail

      • getConsentPolicy

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

        public java.util.Map<java.lang.String,​java.util.List<java.lang.Object>> getAttributes​(org.apereo.cas.authentication.principal.Principal p,
                                                                                                    org.apereo.cas.authentication.principal.Service selectedService,
                                                                                                    org.apereo.cas.services.RegisteredService service)
        Specified by:
        getAttributes in interface org.apereo.cas.services.RegisteredServiceAttributeReleasePolicy
      • getConsentableAttributes

        public java.util.Map<java.lang.String,​java.util.List<java.lang.Object>> getConsentableAttributes​(org.apereo.cas.authentication.principal.Principal principal,
                                                                                                               org.apereo.cas.authentication.principal.Service selectedService,
                                                                                                               org.apereo.cas.services.RegisteredService service)
        Specified by:
        getConsentableAttributes in interface org.apereo.cas.services.RegisteredServiceAttributeReleasePolicy
      • addPolicy

        public void addPolicy​(org.apereo.cas.services.RegisteredServiceAttributeReleasePolicy policy)
        Add policy.
        Parameters:
        policy - the policy
      • addPolicies

        public void addPolicies​(org.apereo.cas.services.RegisteredServiceAttributeReleasePolicy... policies)
        Add policies.
        Parameters:
        policies - the policies
      • size

        public int size()
        Size int.
        Returns:
        the int