edu.internet2.middleware.grouper.shibboleth.dataConnector
Class GroupDataConnector

java.lang.Object
  extended by edu.internet2.middleware.shibboleth.common.attribute.resolver.provider.AbstractResolutionPlugIn<Map<String,edu.internet2.middleware.shibboleth.common.attribute.BaseAttribute>>
      extended by edu.internet2.middleware.shibboleth.common.attribute.resolver.provider.dataConnector.BaseDataConnector
          extended by edu.internet2.middleware.grouper.shibboleth.dataConnector.BaseGrouperDataConnector
              extended by edu.internet2.middleware.grouper.shibboleth.dataConnector.GroupDataConnector
All Implemented Interfaces:
SourceDataConnector, edu.internet2.middleware.shibboleth.common.attribute.resolver.provider.dataConnector.DataConnector, edu.internet2.middleware.shibboleth.common.attribute.resolver.provider.ResolutionPlugIn<Map<String,edu.internet2.middleware.shibboleth.common.attribute.BaseAttribute>>

public class GroupDataConnector
extends BaseGrouperDataConnector

A DataConnector which returns Groups. The attributes of the returned groups may be limited in order to avoid unnecessary queries to the Grouper database.


Field Summary
 
Fields inherited from class edu.internet2.middleware.grouper.shibboleth.dataConnector.BaseGrouperDataConnector
GROUP_TYPE_ATTR, PARENT_STEM_NAME_ATTR
 
Constructor Summary
GroupDataConnector()
           
 
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.
 Map<String,edu.internet2.middleware.shibboleth.common.attribute.BaseAttribute> resolve(edu.internet2.middleware.shibboleth.common.attribute.resolver.provider.ShibbolethResolutionContext resolutionContext)
          
 void validate()
          
 
Methods inherited from class edu.internet2.middleware.grouper.shibboleth.dataConnector.BaseGrouperDataConnector
getAllAttributeDefNames, getAttributeDefNames, getGrouperSession, getGroupQueryFilter, getGroups, getGroupsFields, getMembersFields, getPrivilegeFields, getSubjectAttributeIdentifiers, getSubjectIdentifier, initialize, 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
 

Constructor Detail

GroupDataConnector

public GroupDataConnector()
Method Detail

resolve

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

Throws:
edu.internet2.middleware.shibboleth.common.attribute.resolver.AttributeResolutionException

validate

public void validate()
              throws edu.internet2.middleware.shibboleth.common.attribute.resolver.AttributeResolutionException

Throws:
edu.internet2.middleware.shibboleth.common.attribute.resolver.AttributeResolutionException

getAllIdentifiers

public Set<String> getAllIdentifiers()
Return the identifiers of all objects. The identifiers are destined for provisioning, consequently, the order returned should accommodate that need.

Returns:
the possibly empty but never null set of identifiers

getAllIdentifiers

public Set<String> getAllIdentifiers(Date updatedSince)
Return the identifiers of all objects updated after the given time. see getAllIdentifers().

Parameters:
updatedSince - the Date the returned identifiers were modified after
Returns:
the possibly empty but never null set of identifiers updated since the given time


Copyright © 2011 Internet2. All Rights Reserved.