@NotThreadSafe public class AttributeContext extends BaseContext
BaseContext that tracks a set of attributes. Usually the tracked attributes are about a particular user and
associated with a particular service request.BaseContext.ContextSetNoRemoveIteratorDecorator| Modifier and Type | Field and Description |
|---|---|
private Map<String,IdPAttribute> |
attributes
The attributes tracked by this context.
|
private org.slf4j.Logger |
log
Log.
|
private Map<String,IdPAttribute> |
unfilteredAttributes
The attributes tracked by this context prior to filtering.
|
| Constructor and Description |
|---|
AttributeContext()
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
Map<String,IdPAttribute> |
getIdPAttributes()
Gets the map of attributes, indexed by attribute ID, tracked by this context.
|
Map<String,IdPAttribute> |
getUnfilteredIdPAttributes()
Gets the map of unfiltered attributes, indexed by attribute ID, tracked by this context.
|
void |
setIdPAttributes(Collection<IdPAttribute> newAttributes)
Sets the attributes tracked by this context.
|
void |
setUnfilteredIdPAttributes(Collection<IdPAttribute> newAttributes)
Sets the unfiltered attributes tracked by this context.
|
addSubcontext, addSubcontext, clearSubcontexts, containsSubcontext, createSubcontext, getParent, getSubcontext, getSubcontext, getSubcontext, getSubcontext, isAutoCreateSubcontexts, iterator, removeSubcontext, removeSubcontext, setAutoCreateSubcontexts, setParent@Nonnull private Map<String,IdPAttribute> attributes
@Nullable private Map<String,IdPAttribute> unfilteredAttributes
private final org.slf4j.Logger log
@Nonnull @NonnullElements @Unmodifiable public Map<String,IdPAttribute> getIdPAttributes()
public void setIdPAttributes(@Nullable@NullableElements Collection<IdPAttribute> newAttributes)
newAttributes - the attributes@Nonnull @NonnullElements @Unmodifiable public Map<String,IdPAttribute> getUnfilteredIdPAttributes()
public void setUnfilteredIdPAttributes(@Nullable@NullableElements Collection<IdPAttribute> newAttributes)
newAttributes - the attributesCopyright © 1999–2017 Shibboleth Consortium. All rights reserved.