Package org.apereo.cas.services
Class PatternMatchingAttributeReleasePolicy
- java.lang.Object
-
- org.apereo.cas.services.AbstractRegisteredServiceAttributeReleasePolicy
-
- org.apereo.cas.services.PatternMatchingAttributeReleasePolicy
-
- All Implemented Interfaces:
java.io.Serializable
,org.apereo.cas.services.RegisteredServiceAttributeReleasePolicy
,org.springframework.core.Ordered
public class PatternMatchingAttributeReleasePolicy extends AbstractRegisteredServiceAttributeReleasePolicy
- Since:
- 6.6.0
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
PatternMatchingAttributeReleasePolicy.Rule
-
Constructor Summary
Constructors Constructor Description PatternMatchingAttributeReleasePolicy(java.util.Map<java.lang.String,PatternMatchingAttributeReleasePolicy.Rule> attributes)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.Map<java.lang.String,java.util.List<java.lang.Object>>
getAttributesInternal(org.apereo.cas.services.RegisteredServiceAttributeReleasePolicyContext context, java.util.Map<java.lang.String,java.util.List<java.lang.Object>> attributes)
Gets the attributes internally from the implementation.-
Methods inherited from class org.apereo.cas.services.AbstractRegisteredServiceAttributeReleasePolicy
determineRequestedAttributeDefinitions, getAttributes, getConsentableAttributes, getReleasedByDefaultAttributes, insertPrincipalIdAsAttributeIfNeeded, postLoad, resolveAttributesFromAttributeDefinitionStore, resolveAttributesFromPrincipalAttributeRepository, returnFinalAttributesCollection, supports
-
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
getConsentPolicy, getName, getOrder, getPrincipalAttributesRepository, isAuthorizedToReleaseAuthenticationAttributes, isAuthorizedToReleaseCredentialPassword, isAuthorizedToReleaseProxyGrantingTicket, setAttributeFilter
-
-
-
-
Constructor Detail
-
PatternMatchingAttributeReleasePolicy
public PatternMatchingAttributeReleasePolicy(java.util.Map<java.lang.String,PatternMatchingAttributeReleasePolicy.Rule> attributes)
-
-
Method Detail
-
getAttributesInternal
public java.util.Map<java.lang.String,java.util.List<java.lang.Object>> getAttributesInternal(org.apereo.cas.services.RegisteredServiceAttributeReleasePolicyContext context, java.util.Map<java.lang.String,java.util.List<java.lang.Object>> attributes)
Description copied from class:AbstractRegisteredServiceAttributeReleasePolicy
Gets the attributes internally from the implementation.- Specified by:
getAttributesInternal
in classAbstractRegisteredServiceAttributeReleasePolicy
- Parameters:
context
- the contextattributes
- the principal attributes- Returns:
- the attributes allowed for release
-
-