@ThreadSafe public interface AttributeResolver extends net.shibboleth.utilities.java.support.component.DestructableComponent, net.shibboleth.utilities.java.support.component.IdentifiedComponent, net.shibboleth.utilities.java.support.component.UnmodifiableComponent
Note WellThis class is about attribute resolution, that is to say the summoning
up of attributes in response to the exigies of the provided context. It does not implement
net.shibboleth.utilities.java.support.resolver.Resolver which is about summoning up bits of
generic data from the configuration (e.g., metadata) in response to specific
net.shibboleth.utilities.java.support.resolver.Criterions.
| Modifier and Type | Method and Description |
|---|---|
Map<String,AttributeDefinition> |
getAttributeDefinitions()
Gets the collection of attribute definitions for this resolver.
|
Map<String,DataConnector> |
getDataConnectors()
Gets the unmodifiable collection of data connectors for this resolver.
|
void |
resolveAttributes(AttributeResolutionContext resolutionContext)
Resolves the attribute for the give request.
|
@Nonnull @NonnullElements @Unmodifiable Map<String,AttributeDefinition> getAttributeDefinitions()
@Nonnull @NonnullElements @Unmodifiable Map<String,DataConnector> getDataConnectors()
void resolveAttributes(@Nonnull AttributeResolutionContext resolutionContext) throws ResolutionException
AttributeResolutionContext#getRequestedIdPAttributes(), the resolver will not fail if
they can not be resolved. This information serves only as a hint to the resolver to, potentially, optimize the
resolution of attributes.resolutionContext - the attribute resolution context that identifies the request subject and accumulates the
resolved attributesResolutionException - thrown if there is a problem resolving the attributes for the subjectCopyright © 1999–2014. All rights reserved.