Package org.apereo.cas.services.support
Class RegisteredServiceReverseMappedRegexAttributeFilter
java.lang.Object
org.apereo.cas.services.support.RegisteredServiceMappedRegexAttributeFilter
org.apereo.cas.services.support.RegisteredServiceReverseMappedRegexAttributeFilter
- All Implemented Interfaces:
Serializable
,org.apereo.cas.services.RegisteredServiceAttributeFilter
,org.springframework.core.Ordered
public class RegisteredServiceReverseMappedRegexAttributeFilter
extends RegisteredServiceMappedRegexAttributeFilter
A filtering policy that selectively applies patterns to attributes mapped in the config.
If an attribute is mapped, it's only allowed to be released if it does not match the linked pattern.
If an attribute is not mapped, it may optionally be excluded from the released set of attributes.
- Since:
- 5.1.0
- See Also:
-
Field Summary
Fields inherited from interface org.springframework.core.Ordered
HIGHEST_PRECEDENCE, LOWEST_PRECEDENCE
-
Constructor Summary
-
Method Summary
Methods inherited from class org.apereo.cas.services.support.RegisteredServiceMappedRegexAttributeFilter
collectAttributeWithFilteredValues, createPatternForMappedAttribute, filter, filterProvidedGivenAttributes, handleUnmappedAttribute
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.RegisteredServiceAttributeFilter
getOrder
-
Constructor Details
-
RegisteredServiceReverseMappedRegexAttributeFilter
public RegisteredServiceReverseMappedRegexAttributeFilter()
-
-
Method Details
-
filterAttributeValuesByPattern
Description copied from class:RegisteredServiceMappedRegexAttributeFilter
Filter attribute values by pattern and return the list.- Overrides:
filterAttributeValuesByPattern
in classRegisteredServiceMappedRegexAttributeFilter
- Parameters:
attributeValues
- the attribute valuespattern
- the pattern- Returns:
- the list
-