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

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<edu.internet2.middleware.grouper.Stem>
              extended by edu.internet2.middleware.grouper.shibboleth.dataConnector.StemDataConnector
All Implemented Interfaces:
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 StemDataConnector
extends BaseGrouperDataConnector<edu.internet2.middleware.grouper.Stem>

A DataConnector which returns Stem attributes.


Field Summary
 
Fields inherited from class edu.internet2.middleware.grouper.shibboleth.dataConnector.BaseGrouperDataConnector
CHANGELOG_PRINCIPAL_NAME_PREFIX
 
Constructor Summary
StemDataConnector()
           
 
Method Summary
protected  Map<String,edu.internet2.middleware.shibboleth.common.attribute.BaseAttribute> buildAttributes(edu.internet2.middleware.grouper.Stem stem)
          Return attributes for the given Stem.
 edu.internet2.middleware.grouper.Stem getRootStem()
          Get the root stem.
 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, getAttributeIdentifiers, getFilter, getGrouperSession, getGroupsFields, getMembersFields, getPrivilegeFields, initialize, setAttributeIdentifiers, setFilter
 
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.ResolutionPlugIn
getDependencyIds, getId
 

Constructor Detail

StemDataConnector

public StemDataConnector()
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

buildAttributes

protected Map<String,edu.internet2.middleware.shibboleth.common.attribute.BaseAttribute> buildAttributes(edu.internet2.middleware.grouper.Stem stem)
Return attributes for the given Stem.

Parameters:
stem - the stem
Returns:
the attributes

validate

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

getRootStem

public edu.internet2.middleware.grouper.Stem getRootStem()
Get the root stem. Re-uses the stem object.

Returns:
the root stem


Copyright © 2012 Internet2. All Rights Reserved.