Class AuditContext
- java.lang.Object
-
- org.opensaml.messaging.context.BaseContext
-
- net.shibboleth.idp.profile.context.AuditContext
-
- All Implemented Interfaces:
Iterable<BaseContext>
public final class AuditContext extends BaseContext
BaseContextcontaining information to preserve for auditing/logging.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.opensaml.messaging.context.BaseContext
BaseContext.ContextSetNoRemoveIteratorDecorator
-
-
Constructor Summary
Constructors Constructor Description AuditContext()Constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Multimap<String,String>getFields()Get a live view of the map of field/data mappings.Collection<String>getFieldValues(String field)Get a live collection of values associated with a field.-
Methods inherited from class org.opensaml.messaging.context.BaseContext
addSubcontext, addSubcontext, clearSubcontexts, containsSubcontext, createSubcontext, getParent, getSubcontext, getSubcontext, getSubcontext, getSubcontext, iterator, removeSubcontext, removeSubcontext, setParent
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface java.lang.Iterable
forEach, spliterator
-
-
-
-
Field Detail
-
fieldMap
@Nonnull @NonnullElements private Multimap<String,String> fieldMap
Extensible map of arbitrary field to data mappings.
-
-
Method Detail
-
getFields
@Nonnull @NonnullElements @Live public Multimap<String,String> getFields()
Get a live view of the map of field/data mappings.- Returns:
- field/data mappings
-
getFieldValues
@Nonnull @NonnullElements @Live public Collection<String> getFieldValues(@Nonnull @NotEmpty String field)
Get a live collection of values associated with a field.- Parameters:
field- field to retrieve- Returns:
- the field's values
-
-