|
||||||||||
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
public abstract class BaseGrouperDataConnector
Field Summary | |
---|---|
static String |
GROUP_TYPE_ATTR
the name of the attribute whose values are GroupType s |
static String |
PARENT_STEM_NAME_ATTR
the name of the attribute whose value is the name of the parent stem |
Constructor Summary | |
---|---|
BaseGrouperDataConnector()
Constructor. |
Method Summary | |
---|---|
protected Set<String> |
getAllAttributeDefNames()
Return all attribute definition names. |
protected Set<String> |
getAttributeDefNames()
Returns the possibly empty set of attribute definition names defined in the attribute resolver configuration. |
GrouperSession |
getGrouperSession()
Start a new session if necessary, otherwise reuse existing session. |
GroupQueryFilter |
getGroupQueryFilter()
Get the filter which determines the groups which will be considered by this data connector. |
Set<Group> |
getGroups(Date lastModifyTime)
Query for all groups matching the group query filter. |
List<GroupsField> |
getGroupsFields()
The representation of the attributes which return groups. |
List<MembersField> |
getMembersFields()
The representation of the attributes which return members. |
List<PrivilegeField> |
getPrivilegeFields()
The representation of the attributes which return privileges. |
List<AttributeIdentifier> |
getSubjectAttributeIdentifiers()
The AttributeIdentifier s for subject attributes. |
AttributeIdentifier |
getSubjectIdentifier()
Get the subject and source identifier used to start GrouperSession s. |
void |
initialize()
Make sure that the attributes to return as specified in the data connector configuration are valid, and initialize the necessary objects. |
void |
setFieldIdentifiers(List<AttributeIdentifier> fieldIdentifiers)
Set the identifiers of the attributes to return. |
void |
setGroupQueryFilter(GroupQueryFilter groupQueryFilter)
Set the group query filter |
void |
setSubjectIdentifier(AttributeIdentifier subjectIdentifier)
Set the subject and source identifier used to start GrouperSession s. |
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.grouper.shibboleth.dataConnector.SourceDataConnector |
---|
getAllIdentifiers, getAllIdentifiers |
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, resolve, validate |
Field Detail |
---|
public static final String GROUP_TYPE_ATTR
GroupType
s
public static final String PARENT_STEM_NAME_ATTR
Constructor Detail |
---|
public BaseGrouperDataConnector()
Method Detail |
---|
public void initialize() throws GrouperException
GrouperException
public GrouperSession getGrouperSession() throws SubjectNotFoundException
Subject
identified by the configured subject identifier. This session is not added to the threadlocal.
GrouperSession
SubjectNotFoundException
- if the Subject
identified by the subjectId cannot be foundpublic GroupQueryFilter getGroupQueryFilter()
public void setGroupQueryFilter(GroupQueryFilter groupQueryFilter)
groupQueryFilter
- the GroupQueryFilterpublic void setFieldIdentifiers(List<AttributeIdentifier> fieldIdentifiers)
fieldIdentifiers
- public List<GroupsField> getGroupsFields()
public List<MembersField> getMembersFields()
public List<PrivilegeField> getPrivilegeFields()
public List<AttributeIdentifier> getSubjectAttributeIdentifiers()
AttributeIdentifier
s for subject attributes.
public AttributeIdentifier getSubjectIdentifier()
GrouperSession
s.
public void setSubjectIdentifier(AttributeIdentifier subjectIdentifier)
GrouperSession
s.
subjectIdentifier
- The source and subject identifier to set.public Set<Group> getGroups(Date lastModifyTime)
protected Set<String> getAttributeDefNames()
protected Set<String> getAllAttributeDefNames()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |