|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectedu.internet2.middleware.shibboleth.common.attribute.resolver.provider.AbstractResolutionPlugIn<Map<String,edu.internet2.middleware.shibboleth.common.attribute.BaseAttribute>>
edu.internet2.middleware.shibboleth.common.attribute.resolver.provider.dataConnector.BaseDataConnector
edu.internet2.middleware.grouper.shibboleth.dataConnector.BaseGrouperDataConnector
edu.internet2.middleware.grouper.shibboleth.dataConnector.MemberDataConnector
public class MemberDataConnector
A DataConnector
which returns Member
s. The attributes of the returned members may be limited in order
to avoid unnecessary queries to the Grouper database.
Field Summary | |
---|---|
static String |
ID_ATTRIBUTE_NAME
the name of the attribute representing a subject's id |
Fields inherited from class edu.internet2.middleware.grouper.shibboleth.dataConnector.BaseGrouperDataConnector |
---|
GROUP_TYPE_ATTR, PARENT_STEM_NAME_ATTR |
Constructor Summary | |
---|---|
MemberDataConnector()
|
Method Summary | |
---|---|
Set<String> |
getAllIdentifiers()
Return the identifiers of all objects. |
Set<String> |
getAllIdentifiers(Date updatedSince)
Return the identifiers of all objects updated after the given time. |
Set<Member> |
getMembers(Group group)
Get the members of a group using this object's grouper session callback. |
Set<SourceIdentifier> |
getSourceIdentifiers()
Get the ids of Source s for which Member s will be returned. |
void |
initialize()
If SourceIdentifier s are not null, verify that the Source s with the defined identifiers exist. |
Map<String,edu.internet2.middleware.shibboleth.common.attribute.BaseAttribute> |
resolve(edu.internet2.middleware.shibboleth.common.attribute.resolver.provider.ShibbolethResolutionContext resolutionContext)
|
void |
setSourceIdentifiers(Set<SourceIdentifier> sourceIdentifiers)
Set the Source ids for which Member s will be returned. |
void |
validate()
|
Methods inherited from class edu.internet2.middleware.grouper.shibboleth.dataConnector.BaseGrouperDataConnector |
---|
getAllAttributeDefNames, getAttributeDefNames, getGrouperSession, getGroupQueryFilter, getGroups, getGroupsFields, getMembersFields, getPrivilegeFields, getSubjectAttributeIdentifiers, getSubjectIdentifier, setFieldIdentifiers, setGroupQueryFilter, setSubjectIdentifier |
Methods inherited from class edu.internet2.middleware.shibboleth.common.attribute.resolver.provider.dataConnector.BaseDataConnector |
---|
getFailoverDependencyId, setFailoverDependencyIds |
Methods inherited from class edu.internet2.middleware.shibboleth.common.attribute.resolver.provider.AbstractResolutionPlugIn |
---|
getDependencyIds, getId, getValuesFromAllDependencies, getValuesFromAttributeDependency, getValuesFromConnectorDependency, setId |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface edu.internet2.middleware.shibboleth.common.attribute.resolver.provider.dataConnector.DataConnector |
---|
getFailoverDependencyId |
Methods inherited from interface edu.internet2.middleware.shibboleth.common.attribute.resolver.provider.ResolutionPlugIn |
---|
getDependencyIds, getId |
Field Detail |
---|
public static final String ID_ATTRIBUTE_NAME
Constructor Detail |
---|
public MemberDataConnector()
Method Detail |
---|
public Set<SourceIdentifier> getSourceIdentifiers()
Source
s for which Member
s will be returned.
public void setSourceIdentifiers(Set<SourceIdentifier> sourceIdentifiers)
Source
ids for which Member
s will be returned.
sourceIdentifiers
- public void initialize()
SourceIdentifier
s are not null, verify that the Source
s with the defined identifiers exist.
initialize
in class BaseGrouperDataConnector
BaseGrouperDataConnector.initialize()
public Map<String,edu.internet2.middleware.shibboleth.common.attribute.BaseAttribute> resolve(edu.internet2.middleware.shibboleth.common.attribute.resolver.provider.ShibbolethResolutionContext resolutionContext) throws edu.internet2.middleware.shibboleth.common.attribute.resolver.AttributeResolutionException
edu.internet2.middleware.shibboleth.common.attribute.resolver.AttributeResolutionException
public void validate() throws edu.internet2.middleware.shibboleth.common.attribute.resolver.AttributeResolutionException
edu.internet2.middleware.shibboleth.common.attribute.resolver.AttributeResolutionException
public Set<String> getAllIdentifiers()
Member
s which are also Group
s are omitted. This
data connector considers only Member
objects.
public Set<String> getAllIdentifiers(Date updatedSince)
getAllIdentifers()
.
see getAllIdentifiers()
updatedSince
- the Date
the returned identifiers were modified after
public Set<Member> getMembers(Group group)
group
- the Group
Set
of Member
s
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |