Package org.apereo.cas.services
Class ChainingAttributeReleasePolicy
- java.lang.Object
-
- org.apereo.cas.services.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
This isChainingAttributeReleasePolicy
.- Since:
- 5.1.0
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ChainingAttributeReleasePolicy()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addPolicies(org.apereo.cas.services.RegisteredServiceAttributeReleasePolicy... policies)
Add all policies at once and then sort them.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.services.RegisteredServiceAttributeReleasePolicyContext context)
java.util.Map<java.lang.String,java.util.List<java.lang.Object>>
getConsentableAttributes(org.apereo.cas.services.RegisteredServiceAttributeReleasePolicyContext context)
org.apereo.cas.services.RegisteredServiceConsentPolicy
getConsentPolicy()
org.apereo.cas.authentication.principal.RegisteredServicePrincipalAttributesRepository
getPrincipalAttributesRepository()
int
size()
Size int.
-
-
-
Method Detail
-
getConsentPolicy
public org.apereo.cas.services.RegisteredServiceConsentPolicy getConsentPolicy()
- Specified by:
getConsentPolicy
in interfaceorg.apereo.cas.services.RegisteredServiceAttributeReleasePolicy
-
getPrincipalAttributesRepository
public org.apereo.cas.authentication.principal.RegisteredServicePrincipalAttributesRepository getPrincipalAttributesRepository()
- Specified by:
getPrincipalAttributesRepository
in interfaceorg.apereo.cas.services.RegisteredServiceAttributeReleasePolicy
-
getAttributes
public java.util.Map<java.lang.String,java.util.List<java.lang.Object>> getAttributes(org.apereo.cas.services.RegisteredServiceAttributeReleasePolicyContext context)
- Specified by:
getAttributes
in interfaceorg.apereo.cas.services.RegisteredServiceAttributeReleasePolicy
-
getConsentableAttributes
public java.util.Map<java.lang.String,java.util.List<java.lang.Object>> getConsentableAttributes(org.apereo.cas.services.RegisteredServiceAttributeReleasePolicyContext context)
- Specified by:
getConsentableAttributes
in interfaceorg.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 all policies at once and then sort them.- Parameters:
policies
- the policies
-
size
public int size()
Size int.- Returns:
- the int
-
-