edu.internet2.middleware.shibboleth.common.attribute.filtering.provider.match.saml
Class AbstractEntityGroupMatchFunctor
java.lang.Object
edu.internet2.middleware.shibboleth.common.attribute.filtering.provider.match.basic.AbstractMatchFunctor
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.
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 java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AbstractEntityGroupMatchFunctor
public AbstractEntityGroupMatchFunctor()
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 © 2006-2009 Internet2. All Rights Reserved.