# Uses of Class
net.shibboleth.idp.attribute.filter.context.AttributeFilterContext

Packages that use AttributeFilterContext
Package
Description
net.shibboleth.idp.attribute.filter
This package contains a filtering engine for a collection of `IdPAttribute`s.
net.shibboleth.idp.attribute.filter.context
The contexts to do with attribute filtering.
net.shibboleth.idp.attribute.filter.impl
Implementations of core attribute filter functionality.
net.shibboleth.idp.attribute.filter.matcher.impl
Implementation of the various policy matchers.
net.shibboleth.idp.attribute.filter.matcher.logic.impl
Implementation of the logical attribute matchers.
net.shibboleth.idp.attribute.filter.matcher.saml.impl
This is where the attribute matchers that understand SAML live.
net.shibboleth.idp.attribute.filter.policyrule.filtercontext.impl
Implementation of the filter context matchers Matchers.
net.shibboleth.idp.attribute.filter.policyrule.impl
Classes which implement`PolicyRequirementRule`.
net.shibboleth.idp.attribute.filter.policyrule.logic.impl
Implementation of the logical Policy Rules.
net.shibboleth.idp.attribute.filter.policyrule.saml.impl
This is where the attribute policy rules that understand SAML live.
net.shibboleth.idp.attribute.filter.testing
Testing utility classes.
net.shibboleth.idp.attribute.resolver.dc.saml.impl
A `DataConnector` implementation that queries data from a SAML attribute authority.

## Uses of AttributeFilterContext in net.shibboleth.idp.attribute.filter

Methods in net.shibboleth.idp.attribute.filter with parameters of type AttributeFilterContext
Modifier and Type
Method
Description
`void`
AttributeFilterPolicy.`apply(AttributeFilterContext filterContext)`
Applies this filter policy to the given filter context if it is applicable.
`void`
AttributeRule.`apply(IdPAttribute attribute, AttributeFilterContext filterContext)`
Applies this rule to the respective attribute in the filter context.
`void`
AttributeFilter.`filterAttributes(AttributeFilterContext filterContext)`
Filters attributes and values.
`Set<IdPAttributeValue>`
Matcher.`getMatchingValues(IdPAttribute attribute, AttributeFilterContext filterContext)`
Return those `IdPAttributeValue`s which match this rule, or null if the matcher failed.
`Set<IdPAttributeValue>`
MatcherFromPolicy.`getMatchingValues(IdPAttribute attribute, AttributeFilterContext filterContext)`
Return those `IdPAttributeValue`s which match this rule, or null if the matcher failed.
`private boolean`
AttributeFilterPolicy.`isApplicable(AttributeFilterContext filterContext)`
Checks if the given filter context meets the requirements for this attribute filter policy as given by the `PolicyRequirementRule`.
`PolicyRequirementRule.Tristate`
PolicyFromMatcher.`matches(AttributeFilterContext context)`
Evaluate what this rule means.
`PolicyRequirementRule.Tristate`
PolicyFromMatcherId.`matches(AttributeFilterContext context)`
Evaluate what this rule means.
`PolicyRequirementRule.Tristate`
PolicyRequirementRule.`matches(AttributeFilterContext filterContext)`
Evaluate what this rule means.

## Uses of AttributeFilterContext in net.shibboleth.idp.attribute.filter.context

Fields in net.shibboleth.idp.attribute.filter.context with type parameters of type AttributeFilterContext
Modifier and Type
Field
Description
`private Function<AttributeFilterContext,SAMLMetadataContext>`
AttributeFilterContext.`issuerMetadataContextLookupStrategy`
Lookup strategy used to locate the IdP's metadata context.
`private Function<AttributeFilterContext,ProfileRequestContext>`
AttributeFilterContext.`profileRequestContextLookupStrategy`
Lookup strategy used to locate profile request context for the request.
`private Function<AttributeFilterContext,ProxiedRequesterContext>`
AttributeFilterContext.`proxiedRequesterContextLookupStrategy`
Lookup strategy used to locate a `ProxiedRequesterContext`.
`private Function<AttributeFilterContext,SAMLMetadataContext>`
AttributeFilterContext.`proxiedRequesterMetadataContextLookupStrategy`
Lookup strategy used to locate a proxied requester's metadata context.
`private Function<AttributeFilterContext,SAMLMetadataContext>`
AttributeFilterContext.`requesterMetadataContextLookupStrategy`
Lookup strategy used to locate the SP's metadata context.
Methods in net.shibboleth.idp.attribute.filter.context that return AttributeFilterContext
Modifier and Type
Method
Description
`AttributeFilterContext`
AttributeFilterContext.`setAttributeIssuerID(String value)`
Sets the attribute issuer (me) associated with this filtering.
`AttributeFilterContext`
AttributeFilterContext.`setAttributeRecipientGroupID(String value)`
Set the attribute recipient grouping associated with this filtering.
`AttributeFilterContext`
AttributeFilterContext.`setAttributeRecipientID(String value)`
Sets the attribute recipient (her) associated with this filtering.
`AttributeFilterContext`
AttributeFilterContext.`setDirection(AttributeFilterContext.Direction dir)`
Sets the direction of filtering.
`AttributeFilterContext`
AttributeFilterContext.`setFilteredIdPAttributes(Collection<IdPAttribute> attributes)`
Deprecated, for removal: This API element is subject to removal in a future version.
`AttributeFilterContext`
AttributeFilterContext.`setFilteredIdPAttributes(Map<String,IdPAttribute> attributes)`
Sets the attributes that have been filtered.
`AttributeFilterContext`
AttributeFilterContext.`setIncludeUnfilteredAttributes(boolean what)`
Control whether we will include unfiltered attributes in the result.
`AttributeFilterContext`
AttributeFilterContext.`setIssuerMetadataContextLookupStrategy(Function<AttributeFilterContext,SAMLMetadataContext> strategy)`
Set the strategy used to locate the IdP's metadata context.
`AttributeFilterContext`
AttributeFilterContext.`setMetadataResolver(MetadataResolver resolver)`
Set supplemental source of metadata for filtering rules.
`AttributeFilterContext`
AttributeFilterContext.`setPrefilteredIdPAttributes(Collection<IdPAttribute> attributes)`
Deprecated, for removal: This API element is subject to removal in a future version.
`AttributeFilterContext`
AttributeFilterContext.`setPrefilteredIdPAttributes(Map<String,IdPAttribute> attributes)`
Sets the attributes which are to be filtered.
`AttributeFilterContext`
AttributeFilterContext.`setPrincipal(String who)`
Gets the principal associated with the filtering.
`AttributeFilterContext`
AttributeFilterContext.`setProfileRequestContextLookupStrategy(Function<AttributeFilterContext,ProfileRequestContext> strategy)`
Sets the lookup strategy for locating the profile request context.
`AttributeFilterContext`
AttributeFilterContext.`setProxiedRequesterContextLookupStrategy(Function<AttributeFilterContext,ProxiedRequesterContext> strategy)`
Set the strategy used to locate the SP's metadata context.
`AttributeFilterContext`
AttributeFilterContext.`setProxiedRequesterMetadataContextLookupStrategy(Function<AttributeFilterContext,SAMLMetadataContext> strategy)`
Set the strategy used to locate a proxied requester's metadata context.
`AttributeFilterContext`
AttributeFilterContext.`setRequesterMetadataContextLookupStrategy(Function<AttributeFilterContext,SAMLMetadataContext> strategy)`
Set the strategy used to locate the SP's metadata context.
Methods in net.shibboleth.idp.attribute.filter.context that return types with arguments of type AttributeFilterContext
Modifier and Type
Method
Description
`Function<AttributeFilterContext,SAMLMetadataContext>`
AttributeFilterContext.`getIssuerMetadataContextLookupStrategy()`
Get the strategy used to locate the IdP's metadata context.
`Function<AttributeFilterContext,ProfileRequestContext>`
AttributeFilterContext.`getProfileRequestContextLookupStrategy()`
Gets the lookup strategy for locating the profile request context.
`Function<AttributeFilterContext,ProxiedRequesterContext>`
AttributeFilterContext.`getProxiedRequesterContextLookupStrategy()`
Get the strategy used to locate the `ProxiedRequesterContext`.
`Function<AttributeFilterContext,SAMLMetadataContext>`
AttributeFilterContext.`getProxiedRequesterMetadataContextLookupStrategy()`
Get the strategy used to locate a proxied requester's metadata context.
`Function<AttributeFilterContext,SAMLMetadataContext>`
AttributeFilterContext.`getRequesterMetadataContextLookupStrategy()`
Get the strategy used to locate the SP's metadata context.
Method parameters in net.shibboleth.idp.attribute.filter.context with type arguments of type AttributeFilterContext
Modifier and Type
Method
Description
`AttributeFilterContext`
AttributeFilterContext.`setIssuerMetadataContextLookupStrategy(Function<AttributeFilterContext,SAMLMetadataContext> strategy)`
Set the strategy used to locate the IdP's metadata context.
`AttributeFilterContext`
AttributeFilterContext.`setProfileRequestContextLookupStrategy(Function<AttributeFilterContext,ProfileRequestContext> strategy)`
Sets the lookup strategy for locating the profile request context.
`AttributeFilterContext`
AttributeFilterContext.`setProxiedRequesterContextLookupStrategy(Function<AttributeFilterContext,ProxiedRequesterContext> strategy)`
Set the strategy used to locate the SP's metadata context.
`AttributeFilterContext`
AttributeFilterContext.`setProxiedRequesterMetadataContextLookupStrategy(Function<AttributeFilterContext,SAMLMetadataContext> strategy)`
Set the strategy used to locate a proxied requester's metadata context.
`AttributeFilterContext`
AttributeFilterContext.`setRequesterMetadataContextLookupStrategy(Function<AttributeFilterContext,SAMLMetadataContext> strategy)`
Set the strategy used to locate the SP's metadata context.

## Uses of AttributeFilterContext in net.shibboleth.idp.attribute.filter.impl

Fields in net.shibboleth.idp.attribute.filter.impl with type parameters of type AttributeFilterContext
Modifier and Type
Field
Description
`private Function<AttributeFilterContext,MetricContext>`
AttributeFilterImpl.`metricContextLookupStrategy`
Strategy to get the `MetricContext` for timing.
Methods in net.shibboleth.idp.attribute.filter.impl with parameters of type AttributeFilterContext
Modifier and Type
Method
Description
`void`
AttributeFilterImpl.`filterAttributes(AttributeFilterContext filterContext)`
Filters attributes and values.
`protected Collection<IdPAttributeValue>`
AttributeFilterImpl.`getFilteredValues(String attributeId, AttributeFilterContext filterContext)`
Gets the permitted values for the given attribute from the `AttributeFilterWorkContext.getPermittedIdPAttributeValues()` and removes all denied values given in the `AttributeFilterWorkContext.getDeniedAttributeValues()`.
`private void`
AttributeFilterImpl.`logContext(AttributeFilterContext filterContext)`
Before we start log all we know about the resolver and context (at `Logger.debug(String)`).
`private boolean`
AttributeFilterImpl.`startTimer(AttributeFilterContext filterContext)`
Conditionally start a timer at the beginning of the filtering process.
`private void`
AttributeFilterImpl.`stopTimer(AttributeFilterContext filterContext)`
Conditionally stop a timer at the end of the filtering process.

## Uses of AttributeFilterContext in net.shibboleth.idp.attribute.filter.matcher.impl

Methods in net.shibboleth.idp.attribute.filter.matcher.impl with parameters of type AttributeFilterContext
Modifier and Type
Method
Description
`Set<IdPAttributeValue>`
ScriptedMatcher.MatcherScriptEvaluator.`execute(IdPAttribute attribute, AttributeFilterContext filterContext)`
Execution hook.
`Set<IdPAttributeValue>`
AbstractMatcher.`getMatchingValues(IdPAttribute attribute, AttributeFilterContext filterContext)`
Return those `IdPAttributeValue`s which match this rule, or null if the matcher failed.
`Set<IdPAttributeValue>`
ScriptedMatcher.`getMatchingValues(IdPAttribute attribute, AttributeFilterContext filterContext)`
Perform the AttributeValueMatching.

## Uses of AttributeFilterContext in net.shibboleth.idp.attribute.filter.matcher.logic.impl

Methods in net.shibboleth.idp.attribute.filter.matcher.logic.impl with parameters of type AttributeFilterContext
Modifier and Type
Method
Description
`Set<IdPAttributeValue>`
AndMatcher.`getMatchingValues(IdPAttribute attribute, AttributeFilterContext filterContext)`
A given attribute value is considered to have matched if, and only if, it is returned by every composed.
`Set<IdPAttributeValue>`
NotMatcher.`getMatchingValues(IdPAttribute attribute, AttributeFilterContext filterContext)`
A given attribute value is considered to have matched if it is not returned by the composed `Matcher`.
`Set<IdPAttributeValue>`
OrMatcher.`getMatchingValues(IdPAttribute attribute, AttributeFilterContext filterContext)`
Return those `IdPAttributeValue`s which match this rule, or null if the matcher failed.

## Uses of AttributeFilterContext in net.shibboleth.idp.attribute.filter.matcher.saml.impl

Methods in net.shibboleth.idp.attribute.filter.matcher.saml.impl with parameters of type AttributeFilterContext
Modifier and Type
Method
Description
`private AttributeConsumingService`
AttributeInMetadataMatcher.`getAttributeConsumingService(AttributeFilterContext filterContext)`
Get the appropriate `AttributeConsumingService`.
`Set<IdPAttributeValue>`
AbstractMatchesShibMDScopeMatcher.`getMatchingValues(IdPAttribute attribute, AttributeFilterContext filterContext)`
Return those `IdPAttributeValue`s which match this rule, or null if the matcher failed.
`Set<IdPAttributeValue>`
AttributeInMetadataMatcher.`getMatchingValues(IdPAttribute attribute, AttributeFilterContext filterContext)`
Return those `IdPAttributeValue`s which match this rule, or null if the matcher failed.

## Uses of AttributeFilterContext in net.shibboleth.idp.attribute.filter.policyrule.filtercontext.impl

Methods in net.shibboleth.idp.attribute.filter.policyrule.filtercontext.impl with parameters of type AttributeFilterContext
Modifier and Type
Method
Description
`PolicyRequirementRule.Tristate`
AttributeIssuerPolicyRule.`matches(AttributeFilterContext filterContext)`
Evaluate what this rule means.
`PolicyRequirementRule.Tristate`
AttributeIssuerRegexpPolicyRule.`matches(AttributeFilterContext filterContext)`
Evaluate what this rule means.
`PolicyRequirementRule.Tristate`
AttributeRequesterPolicyRule.`matches(AttributeFilterContext filterContext)`
Evaluate what this rule means.
`PolicyRequirementRule.Tristate`
AttributeRequesterRegexpPolicyRule.`matches(AttributeFilterContext filterContext)`
Evaluate what this rule means.
`PolicyRequirementRule.Tristate`
NumOfAttributeValuesPolicyRule.`matches(AttributeFilterContext filterContext)`
Evaluate what this rule means.
`PolicyRequirementRule.Tristate`
PredicatePolicyRule.`matches(AttributeFilterContext filterContext)`
Evaluate what this rule means.
`PolicyRequirementRule.Tristate`
PrincipalNamePolicyRule.`matches(AttributeFilterContext filterContext)`
Evaluate what this rule means.
`PolicyRequirementRule.Tristate`
PrincipalNameRegexpPolicyRule.`matches(AttributeFilterContext filterContext)`
Evaluate what this rule means.
`PolicyRequirementRule.Tristate`
ProfilePolicyRule.`matches(AttributeFilterContext filterContext)`
Evaluate what this rule means.
`PolicyRequirementRule.Tristate`
ProxiedRequesterPolicyRule.`matches(AttributeFilterContext filterContext)`
Evaluate what this rule means.
`PolicyRequirementRule.Tristate`
ProxiedRequesterRegexpPolicyRule.`matches(AttributeFilterContext filterContext)`
Evaluate what this rule means.

## Uses of AttributeFilterContext in net.shibboleth.idp.attribute.filter.policyrule.impl

Methods in net.shibboleth.idp.attribute.filter.policyrule.impl with parameters of type AttributeFilterContext
Modifier and Type
Method
Description
`PolicyRequirementRule.Tristate`
ScriptedPolicyRule.PolicyRuleScriptEvaluator.`execute(AttributeFilterContext filterContext)`
Execution hook.
`PolicyRequirementRule.Tristate`
DirectionPolicyRule.`matches(AttributeFilterContext filterContext)`
Evaluate what this rule means.
`PolicyRequirementRule.Tristate`
ScriptedPolicyRule.`matches(AttributeFilterContext filterContext)`
Evaluate what this rule means.

## Uses of AttributeFilterContext in net.shibboleth.idp.attribute.filter.policyrule.logic.impl

Methods in net.shibboleth.idp.attribute.filter.policyrule.logic.impl with parameters of type AttributeFilterContext
Modifier and Type
Method
Description
`PolicyRequirementRule.Tristate`
AndPolicyRule.`matches(AttributeFilterContext filterContext)`
Evaluate what this rule means.
`PolicyRequirementRule.Tristate`
NotPolicyRule.`matches(AttributeFilterContext filterContext)`
Evaluate what this rule means.
`PolicyRequirementRule.Tristate`
OrPolicyRule.`matches(AttributeFilterContext filterContext)`
Evaluate what this rule means.

## Uses of AttributeFilterContext in net.shibboleth.idp.attribute.filter.policyrule.saml.impl

Methods in net.shibboleth.idp.attribute.filter.policyrule.saml.impl with parameters of type AttributeFilterContext
Modifier and Type
Method
Description
`protected abstract EntityDescriptor`
AbstractEntityAttributePolicyRule.`getEntityMetadata(AttributeFilterContext filterContext)`
Gets the entity descriptor for the entity to check.
`protected abstract EntityDescriptor`
AbstractEntityGroupPolicyRule.`getEntityMetadata(AttributeFilterContext filterContext)`
Gets the entity descriptor for the entity to check.
`protected abstract EntityDescriptor`
AbstractRegistrationAuthorityPolicyRule.`getEntityMetadata(AttributeFilterContext filterContext)`
Gets the entity descriptor for the rule to check.
`protected EntityDescriptor`
IssuerEntityAttributeExactPolicyRule.`getEntityMetadata(AttributeFilterContext filterContext)`
Gets the entity descriptor for the entity to check.
`protected EntityDescriptor`
IssuerEntityAttributeRegexPolicyRule.`getEntityMetadata(AttributeFilterContext filterContext)`
Gets the entity descriptor for the entity to check.
`protected EntityDescriptor`
IssuerInEntityGroupPolicyRule.`getEntityMetadata(AttributeFilterContext filterContext)`
Gets the entity descriptor for the entity to check.
`protected EntityDescriptor`
IssuerRegistrationAuthorityPolicyRule.`getEntityMetadata(AttributeFilterContext filterContext)`
Gets the entity descriptor for the rule to check.
`protected EntityDescriptor`
ProxiedRequesterEntityAttributeExactPolicyRule.`getEntityMetadata(AttributeFilterContext filterContext)`
Gets the entity descriptor for the entity to check.
`protected EntityDescriptor`
ProxiedRequesterEntityAttributeRegexPolicyRule.`getEntityMetadata(AttributeFilterContext filterContext)`
Gets the entity descriptor for the entity to check.
`protected EntityDescriptor`
ProxiedRequesterInEntityGroupPolicyRule.`getEntityMetadata(AttributeFilterContext filterContext)`
Gets the entity descriptor for the entity to check.
`protected EntityDescriptor`
ProxiedRequesterRegistrationAuthorityPolicyRule.`getEntityMetadata(AttributeFilterContext filterContext)`
Gets the entity descriptor for the rule to check.
`protected EntityDescriptor`
RequesterEntityAttributeExactPolicyRule.`getEntityMetadata(AttributeFilterContext filterContext)`
Gets the entity descriptor for the entity to check.
`protected EntityDescriptor`
RequesterEntityAttributeRegexPolicyRule.`getEntityMetadata(AttributeFilterContext filterContext)`
Gets the entity descriptor for the entity to check.
`protected EntityDescriptor`
RequesterInEntityGroupPolicyRule.`getEntityMetadata(AttributeFilterContext filterContext)`
Gets the entity descriptor for the entity to check.
`protected EntityDescriptor`
RequesterRegistrationAuthorityPolicyRule.`getEntityMetadata(AttributeFilterContext filterContext)`
Gets the entity descriptor for the rule to check.
`protected abstract SSODescriptor`
AbstractNameIDFormatExactPolicyRule.`getEntitySSODescriptor(AttributeFilterContext filterContext)`
Gets the SSO role descriptor for the entity to be checked.
`protected SSODescriptor`
IssuerNameIDFormatExactPolicyRule.`getEntitySSODescriptor(AttributeFilterContext filterContext)`
Gets the SSO role descriptor for the entity to be checked.
`protected SSODescriptor`
RequesterNameIDFormatExactPolicyRule.`getEntitySSODescriptor(AttributeFilterContext filterContext)`
Gets the SSO role descriptor for the entity to be checked.
`private RegistrationInfo`
AbstractRegistrationAuthorityPolicyRule.`getRegistrationInfo(AttributeFilterContext filterContext)`
Look for the `RegistrationInfo` inside the peer's entity description.
`protected abstract RoleDescriptor`
AbstractProtocolSupportPolicyRule.`getRoleDescriptor(AttributeFilterContext filterContext)`
Gets the `RoleDescriptor` we are interested in.
`protected RoleDescriptor`
IssuerProtocolSupportPolicyRule.`getRoleDescriptor(AttributeFilterContext filterContext)`
Gets the `RoleDescriptor` we are interested in.
`protected RoleDescriptor`
ProxiedRequesterProtocolSupportPolicyRule.`getRoleDescriptor(AttributeFilterContext filterContext)`
Gets the `RoleDescriptor` we are interested in.
`protected RoleDescriptor`
RequesterProtocolSupportPolicyRule.`getRoleDescriptor(AttributeFilterContext filterContext)`
Gets the `RoleDescriptor` we are interested in.
`PolicyRequirementRule.Tristate`
AbstractEntityAttributePolicyRule.`matches(AttributeFilterContext filterContext)`
Evaluate what this rule means.
`PolicyRequirementRule.Tristate`
AbstractEntityGroupPolicyRule.`matches(AttributeFilterContext input)`
Evaluate what this rule means.
`PolicyRequirementRule.Tristate`
AbstractNameIDFormatExactPolicyRule.`matches(AttributeFilterContext filterContext)`
Evaluate what this rule means.
`PolicyRequirementRule.Tristate`
AbstractProtocolSupportPolicyRule.`matches(AttributeFilterContext filterContext)`
Evaluate what this rule means.
`PolicyRequirementRule.Tristate`
AbstractRegistrationAuthorityPolicyRule.`matches(AttributeFilterContext filterContext)`
Evaluate what this rule means.

## Uses of AttributeFilterContext in net.shibboleth.idp.attribute.filter.testing

Methods in net.shibboleth.idp.attribute.filter.testing with parameters of type AttributeFilterContext
Modifier and Type
Method
Description
`Set<IdPAttributeValue>`
MockMatcher.`getMatchingValues(IdPAttribute attribute, AttributeFilterContext filterContext)`
Return those `IdPAttributeValue`s which match this rule, or null if the matcher failed.
`PolicyRequirementRule.Tristate`
MockPolicyRequirementRule.`matches(AttributeFilterContext filterContext)`
Evaluate what this rule means.

## Uses of AttributeFilterContext in net.shibboleth.idp.attribute.resolver.dc.saml.impl

Methods in net.shibboleth.idp.attribute.resolver.dc.saml.impl with parameters of type AttributeFilterContext
Modifier and Type
Method
Description
`private void`
BasicResponseMappingStrategy.`populateFilterContext(AttributeFilterContext filterContext, Map<String,IdPAttribute> unfilteredAttributes, String assertionIssuer, ResponseData responseData)`
Populate the `AttributeFilterContext` for processing.