Package org.forgerock.openig.audit
Class AccessAuditExtensionContext
java.lang.Object
org.forgerock.services.context.AbstractContext
org.forgerock.openig.audit.AccessAuditExtensionContext
- All Implemented Interfaces:
Context
A context to extend Ig Access audit information.
-
Field Summary
Fields inherited from class org.forgerock.services.context.AbstractContext
data -
Constructor Summary
ConstructorsConstructorDescriptionAccessAuditExtensionContext(Context parent) Create an emptyAccessAuditExtensionContext. -
Method Summary
Modifier and TypeMethodDescriptionextendWith(String key, Object value) Add additional custom key and value to the contextual information.Returns map of extension information about a request.Methods inherited from class org.forgerock.services.context.AbstractContext
as, asContext, containsContext, containsContext, get, getContext, getContextName, getId, getParent, getRootId, isRootContext, toJsonValue, toString
-
Constructor Details
-
AccessAuditExtensionContext
Create an emptyAccessAuditExtensionContext.- Parameters:
parent- the parentContext.
-
-
Method Details
-
getExtensions
Returns map of extension information about a request.- Returns:
- map of extension information about a request
-
extendWith
Add additional custom key and value to the contextual information.- Parameters:
key- the key of the custom informationvalue- the value of the custom information- Returns:
AccessAuditExtensionContext
-