Interface AttributeFilter
- All Superinterfaces:
Component
,IdentifiedComponent
- All Known Implementing Classes:
AttributeFilterImpl
Interface that filters out attributes and values based upon loaded policies.
-
Method Summary
Modifier and TypeMethodDescriptionvoid
filterAttributes
(AttributeFilterContext filterContext) Filters attributes and values.Gets the immutable collection of filter policies.Methods inherited from interface net.shibboleth.utilities.java.support.component.IdentifiedComponent
getId
-
Method Details
-
getFilterPolicies
Gets the immutable collection of filter policies.- Returns:
- immutable collection of filter policies
-
filterAttributes
void filterAttributes(@Nonnull AttributeFilterContext filterContext) throws AttributeFilterException Filters attributes and values. This filtering process may remove attributes and values but must never add them.- Parameters:
filterContext
- context containing the attributes to be filtered and collecting the results of the filtering process- Throws:
AttributeFilterException
- thrown if there is a problem retrieving or applying the attribute filter policy
-