| Package | Description |
|---|---|
| org.apache.knox.gateway.audit.api | |
| org.apache.knox.gateway.audit.log4j.audit | |
| org.apache.knox.gateway.audit.log4j.correlation |
| Modifier and Type | Method and Description |
|---|---|
CorrelationContext |
CorrelationService.attachExternalizedContext(byte[] externalizedContext)
Attaches the externalized correlation context
|
CorrelationContext |
CorrelationService.createContext()
Creates a new correlation context.
|
CorrelationContext |
CorrelationService.detachContext()
Detaches the existing attached context if any.
|
CorrelationContext |
CorrelationService.getContext()
Returns the current attached correlation context if any.
|
CorrelationContext |
CorrelationService.readExternalizedContext(byte[] externalizedContext)
Restores correlation context from externalized form.
|
| Modifier and Type | Method and Description |
|---|---|
void |
CorrelationService.attachContext(CorrelationContext context)
Sets the current attached correlation context.
|
void |
Auditor.audit(CorrelationContext correlationContext,
AuditContext auditContext,
String action,
String resourceName,
String resourceType,
String outcome,
String message)
Records a single audit event.
|
<T> T |
CorrelationService.execute(CorrelationContext context,
Callable<T> callable)
Executes the callable within the provided correlation context.
|
| Modifier and Type | Method and Description |
|---|---|
void |
Log4jAuditor.audit(CorrelationContext correlationContext,
AuditContext auditContext,
String action,
String resourceName,
String resourceType,
String outcome,
String message) |
| Modifier and Type | Class and Description |
|---|---|
class |
Log4jCorrelationContext |
| Modifier and Type | Method and Description |
|---|---|
CorrelationContext |
Log4jCorrelationService.attachExternalizedContext(byte[] externalizedContext) |
CorrelationContext |
Log4jCorrelationService.createContext() |
CorrelationContext |
Log4jCorrelationService.detachContext() |
CorrelationContext |
Log4jCorrelationService.getContext() |
CorrelationContext |
Log4jCorrelationService.readExternalizedContext(byte[] externalizedContext) |
| Modifier and Type | Method and Description |
|---|---|
void |
Log4jCorrelationService.attachContext(CorrelationContext context) |
<T> T |
Log4jCorrelationService.execute(CorrelationContext context,
Callable<T> callable) |
Copyright © 2022 The Apache Software Foundation. All rights reserved.