edu.internet2.middleware.shibboleth.common.attribute.filtering.provider.match.saml
Class AbstractEntityAttributeExactMatchFunctor

java.lang.Object
  extended by edu.internet2.middleware.shibboleth.common.attribute.filtering.provider.match.basic.AbstractMatchFunctor
      extended by edu.internet2.middleware.shibboleth.common.attribute.filtering.provider.match.saml.AbstractEntityAttributeMatchFunctor
          extended by edu.internet2.middleware.shibboleth.common.attribute.filtering.provider.match.saml.AbstractEntityAttributeExactMatchFunctor
All Implemented Interfaces:
MatchFunctor
Direct Known Subclasses:
AttributeIssuerEntityAttributeExactMatchFunctor, AttributeRequesterEntityAttributeExactMatchFunctor

public abstract class AbstractEntityAttributeExactMatchFunctor
extends AbstractEntityAttributeMatchFunctor

Base class for match functors that perform an exact match of a given attribute string value against entity attribute value.


Field Summary
private  String value
          The value of the entity attribute the entity must have.
 
Constructor Summary
AbstractEntityAttributeExactMatchFunctor()
           
 
Method Summary
protected  boolean entityAttributeValueMatches(String entityAttributeValue)
          Checks whether the given entity attribute value matches the rules for particular implementation of this functor.
 String getValue()
          Gets the value of the entity attribute the entity must have.
 void setValue(String attributeValue)
          Sets the value of the entity attribute the entity must have.
 
Methods inherited from class edu.internet2.middleware.shibboleth.common.attribute.filtering.provider.match.saml.AbstractEntityAttributeMatchFunctor
doEvaluatePolicyRequirement, doEvaluateValue, getEntityAttribute, getEntityMetadata, getName, getNameFormat, hasEntityAttribute, setName, setNameFormat
 
Methods inherited from class edu.internet2.middleware.shibboleth.common.attribute.filtering.provider.match.basic.AbstractMatchFunctor
evaluateDenyRule, evaluatePermitValue, evaluatePolicyRequirement
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

value

private String value
The value of the entity attribute the entity must have.

Constructor Detail

AbstractEntityAttributeExactMatchFunctor

public AbstractEntityAttributeExactMatchFunctor()
Method Detail

getValue

public String getValue()
Gets the value of the entity attribute the entity must have.

Returns:
value of the entity attribute the entity must have

setValue

public void setValue(String attributeValue)
Sets the value of the entity attribute the entity must have.

Parameters:
attributeValue - value of the entity attribute the entity must have

entityAttributeValueMatches

protected boolean entityAttributeValueMatches(String entityAttributeValue)
Checks whether the given entity attribute value matches the rules for particular implementation of this functor.

Specified by:
entityAttributeValueMatches in class AbstractEntityAttributeMatchFunctor
Parameters:
entityAttributeValue - the entity attribute value, never null
Returns:
true if the value matches, false if not


Copyright © 1999-2012. All Rights Reserved.