Class AbstractComposedPolicyRule
java.lang.Object
net.shibboleth.utilities.java.support.component.AbstractInitializableComponent
net.shibboleth.utilities.java.support.component.AbstractIdentifiedInitializableComponent
net.shibboleth.utilities.java.support.component.AbstractIdentifiableInitializableComponent
net.shibboleth.idp.attribute.filter.policyrule.logic.impl.AbstractComposedPolicyRule
- All Implemented Interfaces:
PolicyRequirementRule
,Component
,DestructableComponent
,IdentifiableComponent
,IdentifiedComponent
,InitializableComponent
,UnmodifiableComponent
- Direct Known Subclasses:
AndPolicyRule
,OrPolicyRule
public abstract class AbstractComposedPolicyRule
extends AbstractIdentifiableInitializableComponent
implements PolicyRequirementRule, UnmodifiableComponent
Base class for
PolicyRequirementRule
implementations that are compositions of other
PolicyRequirementRule
s.-
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 void
Get the composed matchers.void
setSubsidiaries
(List<PolicyRequirementRule> theRules) Set the rules to be composed.toString()
Methods inherited from class net.shibboleth.utilities.java.support.component.AbstractIdentifiableInitializableComponent
setId
Methods inherited from class net.shibboleth.utilities.java.support.component.AbstractIdentifiedInitializableComponent
getId
Methods inherited from class net.shibboleth.utilities.java.support.component.AbstractInitializableComponent
destroy, doDestroy, initialize, isDestroyed, isInitialized
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface net.shibboleth.utilities.java.support.component.IdentifiedComponent
getId
Methods inherited from interface net.shibboleth.idp.attribute.filter.PolicyRequirementRule
matches
-
Field Details
-
rules
The composed matchers.
-
-
Constructor Details
-
AbstractComposedPolicyRule
public AbstractComposedPolicyRule()
-
-
Method Details
-
setSubsidiaries
Set the rules to be composed. Called "subsidiaries" to allow easier parsing.- Parameters:
theRules
- the rules to be composed.
-
doInitialize
- Overrides:
doInitialize
in classAbstractIdentifiedInitializableComponent
- Throws:
ComponentInitializationException
-
getComposedRules
Get the composed matchers.- Returns:
- the composed matchers
-
toString
-