public abstract class BaseGrouperDataConnector<T>
extends edu.internet2.middleware.shibboleth.common.attribute.resolver.provider.dataConnector.BaseDataConnector
DataConnector
which returns Grouper objects.Modifier and Type | Field and Description |
---|---|
static String |
CHANGELOG_PRINCIPAL_NAME_PREFIX
The principal name prefix required for processing of a change log entry.
|
Constructor and Description |
---|
BaseGrouperDataConnector()
Constructor.
|
Modifier and Type | Method and Description |
---|---|
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.
|
List<AttributeIdentifier> |
getAttributeIdentifiers()
Return the identifiers of the attributes to return.
|
Filter<T> |
getFilter()
Get the filter which determines the objects which will be considered by this data connector.
|
GrouperSession |
getGrouperSession()
Start a new root session if necessary, otherwise reuse existing threadlocal session.
|
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.
|
void |
initialize()
Make sure that the attributes to return as specified in the data connector configuration are valid, and initialize
the necessary objects.
|
void |
setAttributeIdentifiers(List<AttributeIdentifier> attributeIdentifiers)
Set the identifiers of the attributes to return.
|
void |
setFilter(Filter filter)
Set the match query filter.
|
getFailoverDependencyId, setFailoverDependencyIds
getDependencyIds, getId, getValuesFromAllDependencies, getValuesFromAttributeDependency, getValuesFromConnectorDependency, setId
public static final String CHANGELOG_PRINCIPAL_NAME_PREFIX
public void initialize() throws GrouperException
GrouperException
public GrouperSession getGrouperSession()
public Filter<T> getFilter()
public void setFilter(Filter filter)
filter
- the Filterpublic void setAttributeIdentifiers(List<AttributeIdentifier> attributeIdentifiers)
attributeIdentifiers
- public List<AttributeIdentifier> getAttributeIdentifiers()
public List<GroupsField> getGroupsFields()
public List<MembersField> getMembersFields()
public List<PrivilegeField> getPrivilegeFields()
protected Set<String> getAttributeDefNames()
Copyright © 2016 Internet2. All rights reserved.