edu.internet2.middleware.grouper.shibboleth.filter
Class GroupInStemFilter
java.lang.Object
edu.internet2.middleware.grouper.shibboleth.filter.AbstractFilter<edu.internet2.middleware.grouper.Group>
edu.internet2.middleware.grouper.shibboleth.filter.GroupInStemFilter
- All Implemented Interfaces:
- edu.internet2.middleware.grouper.filter.QueryFilter<edu.internet2.middleware.grouper.Group>, Filter<edu.internet2.middleware.grouper.Group>
public class GroupInStemFilter
- extends AbstractFilter<edu.internet2.middleware.grouper.Group>
Selects Group
s in a Stem
with Stem.Scope
.
Constructor Summary |
GroupInStemFilter(String name,
String scope)
Creates a GroupsInStemFilter which returns the Group s which are under the given Stem name
and scope. |
Method Summary |
boolean |
matches(edu.internet2.middleware.grouper.Group group)
Returns true if the group is a child of the configured stem with the configured scope. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
GroupInStemFilter
public GroupInStemFilter(String name,
String scope)
- Creates a
GroupsInStemFilter
which returns the Group
s which are under the given Stem
name
and scope.
- Parameters:
name
- the stem namescope
- the stem scope
matches
public boolean matches(edu.internet2.middleware.grouper.Group group)
- Returns true if the group is a child of the configured stem with the configured scope.
Returns true if the Grouper object would be returned by the filter. False otherwise.
- Parameters:
group
- the Grouper object
- Returns:
- if the Grouper object matches or not
Copyright © 2012 Internet2. All Rights Reserved.