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:
java.io.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:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description RegisteredServiceReverseMappedRegexAttributeFilter()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected java.util.List<java.lang.Object>
filterAttributeValuesByPattern(java.util.Set<java.lang.Object> attributeValues, java.util.regex.Pattern pattern)
Filter attribute values by pattern and return the list.-
Methods inherited from class org.apereo.cas.services.support.RegisteredServiceMappedRegexAttributeFilter
collectAttributeWithFilteredValues, createPatternForMappedAttribute, filter, filterProvidedGivenAttributes, handleUnmappedAttribute
-
-
-
-
Method Detail
-
filterAttributeValuesByPattern
protected java.util.List<java.lang.Object> filterAttributeValuesByPattern(java.util.Set<java.lang.Object> attributeValues, java.util.regex.Pattern pattern)
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
-
-