@NotThreadSafe public class AttributeResolverWorkContext extends BaseContext
This should be considered a private API limited to plugin implementations.
BaseContext.ContextSetNoRemoveIteratorDecorator| Modifier and Type | Field and Description |
|---|---|
private Map<String,ResolvedAttributeDefinition> |
resolvedAttributeDefinitions
Attribute definitions that have been resolved and the resultant attribute.
|
private Map<String,ResolvedDataConnector> |
resolvedDataConnectors
Data connectors that have been resolved and the resultant attributes.
|
| Constructor and Description |
|---|
AttributeResolverWorkContext()
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
Map<String,ResolvedDataConnector> |
getResolvedDataConnectors()
Gets the resolved data connectors that been recorded.
|
Map<String,ResolvedAttributeDefinition> |
getResolvedIdPAttributeDefinitions()
Gets the resolved attribute definitions that been recorded.
|
void |
recordAttributeDefinitionResolution(AttributeDefinition definition,
IdPAttribute attribute)
Records the results of an attribute definition resolution.
|
void |
recordDataConnectorResolution(DataConnector connector,
Map<String,IdPAttribute> attributes)
Records the results of an data connector resolution.
|
void |
recordFailoverResolution(DataConnector failedConnector,
DataConnector failoverConnector)
Transfer the attributes from a failover dataconnector to a failed one.
|
addSubcontext, addSubcontext, clearSubcontexts, containsSubcontext, createSubcontext, getParent, getSubcontext, getSubcontext, getSubcontext, getSubcontext, isAutoCreateSubcontexts, iterator, removeSubcontext, removeSubcontext, setAutoCreateSubcontexts, setParent@Nonnull @NonnullElements private final Map<String,ResolvedAttributeDefinition> resolvedAttributeDefinitions
@Nonnull @NonnullElements private final Map<String,ResolvedDataConnector> resolvedDataConnectors
@Nonnull @NonnullElements @Unmodifiable public Map<String,ResolvedAttributeDefinition> getResolvedIdPAttributeDefinitions()
public void recordAttributeDefinitionResolution(@Nonnull AttributeDefinition definition, @Nullable IdPAttribute attribute) throws ResolutionException
definition - the resolved attribute definition, must not be nullattribute - the attribute produced by the given attribute definition, may be nullResolutionException - thrown if a result of a resolution for the given attribute definition have already
been recorded@Nonnull @NonnullElements @Unmodifiable public Map<String,ResolvedDataConnector> getResolvedDataConnectors()
public void recordDataConnectorResolution(@Nonnull DataConnector connector, @Nullable Map<String,IdPAttribute> attributes) throws ResolutionException
connector - the resolved data connector, must not be nullattributes - the attribute produced by the given data connector, may be nullResolutionException - thrown if a result of a resolution for the given data connector has already been
recordedpublic void recordFailoverResolution(@Nonnull DataConnector failedConnector, @Nonnull DataConnector failoverConnector) throws ResolutionException
failedConnector - the connector which failed and provoked the failover.failoverConnector - the failover connector which did resolve OK.ResolutionException - if badness ocurrsCopyright © 1999–2018 Shibboleth Consortium. All rights reserved.