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

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.AbstractEntityGroupMatchFunctor
All Implemented Interfaces:
MatchFunctor
Direct Known Subclasses:
AttributeIssuerInEntityGroupMatchFunctor, AttributeRequesterInEntityGroupMatchFunctor

public abstract class AbstractEntityGroupMatchFunctor
extends AbstractMatchFunctor

Base class for match functors that check if a given entity is in an entity group.


Field Summary
private  String entityGroup
          The entity group to match against.
private  org.slf4j.Logger log
          Class logger.
 
Constructor Summary
AbstractEntityGroupMatchFunctor()
           
 
Method Summary
 String getEntityGroup()
          Gets the entity group to match against.
protected  boolean isEntityInGroup(org.opensaml.saml2.metadata.EntityDescriptor entity)
          Checks if the given entity is in the provided entity group.
 void setEntityGroup(String group)
          Sets the entity group to match against.
 
Methods inherited from class edu.internet2.middleware.shibboleth.common.attribute.filtering.provider.match.basic.AbstractMatchFunctor
doEvaluatePolicyRequirement, doEvaluateValue, evaluateDenyRule, evaluatePermitValue, evaluatePolicyRequirement
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

log

private final org.slf4j.Logger log
Class logger.


entityGroup

private String entityGroup
The entity group to match against.

Constructor Detail

AbstractEntityGroupMatchFunctor

public AbstractEntityGroupMatchFunctor()
Method Detail

getEntityGroup

public String getEntityGroup()
Gets the entity group to match against.

Returns:
entity group to match against

setEntityGroup

public void setEntityGroup(String group)
Sets the entity group to match against.

Parameters:
group - entity group to match against

isEntityInGroup

protected boolean isEntityInGroup(org.opensaml.saml2.metadata.EntityDescriptor entity)
Checks if the given entity is in the provided entity group.

Parameters:
entity - the entity to check
Returns:
true if the entity is in the group, false if not


Copyright © 1999-2012. All Rights Reserved.