@ThreadSafe public interface AttributeResolver extends IdentifiedComponent
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.Criterion.
| 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.
|
getId@Nonnull @NonnullElements @Unmodifiable Map<String,AttributeDefinition> getAttributeDefinitions()
@Nonnull @NonnullElements @Unmodifiable Map<String,DataConnector> getDataConnectors()
void resolveAttributes(@Nonnull AttributeResolutionContext resolutionContext) throws ResolutionException
AttributeResolutionContext.getRequestedIdPAttributeNames(), 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–2018 Shibboleth Consortium. All rights reserved.