Class RequesterInEntityGroupPolicyRule
java.lang.Object
net.shibboleth.shared.component.AbstractInitializableComponent
net.shibboleth.shared.component.AbstractIdentifiedInitializableComponent
net.shibboleth.shared.component.AbstractIdentifiableInitializableComponent
net.shibboleth.idp.attribute.filter.policyrule.impl.AbstractPolicyRule
net.shibboleth.idp.attribute.filter.policyrule.saml.impl.AbstractEntityGroupPolicyRule
net.shibboleth.idp.attribute.filter.policyrule.saml.impl.RequesterInEntityGroupPolicyRule
- All Implemented Interfaces:
PolicyRequirementRule,Component,DestructableComponent,IdentifiableComponent,IdentifiedComponent,InitializableComponent
A matcher that evaluates to true if attribute requester's metadata matches the provided entity group name,
or a valid metadata-sourced affiliation of entities.
-
Nested Class Summary
Nested classes/interfaces inherited from interface net.shibboleth.idp.attribute.filter.PolicyRequirementRule
PolicyRequirementRule.Tristate -
Field Summary
FieldsFields inherited from interface net.shibboleth.idp.attribute.filter.PolicyRequirementRule
MATCHES_ALL, MATCHES_NONE, REQUIREMENT_RULE_FAILS -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected EntityDescriptorgetEntityMetadata(AttributeFilterContext filterContext) Gets the entity descriptor for the entity to check.Methods inherited from class net.shibboleth.idp.attribute.filter.policyrule.saml.impl.AbstractEntityGroupPolicyRule
doInitialize, getEntityGroup, isCheckAffiliations, matches, setCheckAffiliations, setEntityGroupMethods inherited from class net.shibboleth.idp.attribute.filter.policyrule.impl.AbstractPolicyRule
getLogPrefixMethods inherited from class net.shibboleth.shared.component.AbstractIdentifiableInitializableComponent
setIdMethods inherited from class net.shibboleth.shared.component.AbstractIdentifiedInitializableComponent
ensureId, getId, ifDestroyedThrowDestroyedComponentException, ifInitializedThrowUnmodifiabledComponentException, ifNotInitializedThrowUninitializedComponentExceptionMethods inherited from class net.shibboleth.shared.component.AbstractInitializableComponent
checkComponentActive, checkSetterPreconditions, destroy, doDestroy, initialize, isDestroyed, isInitializedMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface net.shibboleth.shared.component.IdentifiedComponent
getId
-
Field Details
-
log
@Nonnull private final org.slf4j.Logger logClass logger.
-
-
Constructor Details
-
RequesterInEntityGroupPolicyRule
public RequesterInEntityGroupPolicyRule()
-
-
Method Details
-
getEntityMetadata
@Nullable protected EntityDescriptor getEntityMetadata(@Nonnull AttributeFilterContext filterContext) Gets the entity descriptor for the entity to check.- Specified by:
getEntityMetadatain classAbstractEntityGroupPolicyRule- Parameters:
filterContext- current filter request context- Returns:
- entity descriptor for the entity to check
-