@NotThreadSafe public class AttributeResolutionContext extends org.opensaml.messaging.context.BaseContext
AttributeResolver interface.| Modifier and Type | Field and Description |
|---|---|
private String |
attributeIssuerID
The attribute source identity.
|
private String |
attributeRecipientID
The attribute recipient identity.
|
private String |
principal
The principal associated with this resolution.
|
private String |
principalAuthenticationMethod
How was the principal Authenticated?
|
private Set<String> |
requestedAttributeNames
(internal) Names of the attributes that have been requested to be resolved.
|
private Map<String,IdPAttribute> |
resolvedAttributes
Attributes which were resolved and released by the attribute resolver.
|
| Constructor and Description |
|---|
AttributeResolutionContext()
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
String |
getAttributeIssuerID()
Get the attribute issuer (me) associated with this resolution.
|
String |
getAttributeRecipientID()
Get the attribute recipient (her) associated with this resolution.
|
String |
getPrincipal()
Set the principal associated with this resolution.
|
String |
getPrincipalAuthenticationMethod()
Set how the principal was authenticated.
|
Collection<String> |
getRequestedIdPAttributeNames()
Get the (internal) names of the attributes requested to be resolved.
|
Map<String,IdPAttribute> |
getResolvedIdPAttributes()
Get the collection of resolved attributes.
|
void |
setAttributeIssuerID(String value)
Set the attribute issuer (me) associated with this resolution.
|
void |
setAttributeRecipientID(String value)
Set the attribute recipient (her) associated with this resolution.
|
void |
setPrincipal(String who)
Get the principal associated with this resolution.
|
void |
setPrincipalAuthenticationMethod(String method)
Get how the principal was authenticated.
|
void |
setRequestedIdPAttributeNames(Collection<String> names)
Set the (internal) names of the attributes requested to be resolved.
|
void |
setResolvedIdPAttributes(Collection<IdPAttribute> attributes)
Set the set of resolved attributes.
|
addSubcontext, addSubcontext, clearSubcontexts, containsSubcontext, createSubcontext, getParent, getSubcontext, getSubcontext, getSubcontext, getSubcontext, isAutoCreateSubcontexts, iterator, removeSubcontext, removeSubcontext, setAutoCreateSubcontexts, setParent@Nonnull @NonnullElements private Set<String> requestedAttributeNames
@Nullable private String attributeRecipientID
@Nullable private String principalAuthenticationMethod
@Nonnull @NonnullElements private Map<String,IdPAttribute> resolvedAttributes
@Nullable public String getAttributeIssuerID()
@Nullable public void setAttributeIssuerID(@Nullable String value)
value - the attribute issuer associated with this resolution.@Nullable public String getAttributeRecipientID()
@Nullable public void setAttributeRecipientID(@Nullable String value)
value - the attribute recipient associated with this resolution.@Nullable public String getPrincipalAuthenticationMethod()
public void setPrincipalAuthenticationMethod(@Nullable String method)
method - The principalAuthenticationMethod to set.@Nullable public String getPrincipal()
public void setPrincipal(@Nullable String who)
who - The principal to set.@Nonnull @NonnullElements public Collection<String> getRequestedIdPAttributeNames()
public void setRequestedIdPAttributeNames(@Nonnull@NonnullElements Collection<String> names)
names - the (internal) names of the attributes requested to be resolved@Nonnull @NonnullElements @Unmodifiable @NotLive public Map<String,IdPAttribute> getResolvedIdPAttributes()
public void setResolvedIdPAttributes(@Nullable@NullableElements Collection<IdPAttribute> attributes)
attributes - set of resolved attributesCopyright © 1999–2014. All rights reserved.