edu.internet2.middleware.grouper.shibboleth.dataConnector
Class MemberDataConnector
java.lang.Object
edu.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.Member>
edu.internet2.middleware.grouper.shibboleth.dataConnector.MemberDataConnector
- 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 MemberDataConnector
- extends BaseGrouperDataConnector<edu.internet2.middleware.grouper.Member>
A DataConnector
which returns Member
attributes.
Method Summary |
protected Map<String,edu.internet2.middleware.shibboleth.common.attribute.BaseAttribute> |
buildAttributes(edu.internet2.middleware.grouper.Member member)
Return attributes for the given Member . |
protected boolean |
isInternal(edu.internet2.middleware.subject.Subject subject)
Returns true if the subject is internal to Grouper, in either the InternalSourceAdapter for the
GrouperSystem and GrouperAll subjects or the GrouperSourceAdapter for Group s. |
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.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 |
MemberDataConnector
public MemberDataConnector()
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.Member member)
- Return attributes for the given
Member
.
- Parameters:
member
- the member
- 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
isInternal
protected boolean isInternal(edu.internet2.middleware.subject.Subject subject)
- Returns true if the subject is internal to Grouper, in either the
InternalSourceAdapter
for the
GrouperSystem and GrouperAll subjects or the GrouperSourceAdapter
for Group
s.
- Parameters:
subject
- the subject
- Returns:
- true if the subject is internal to Grouper
Copyright © 2012 Internet2. All Rights Reserved.