public interface AuditApi
Modifier and Type | Method and Description |
---|---|
void |
audit(JsonValue auditMessage)
Audits the authentication request, using the audit information from the given audit message.
|
void audit(JsonValue auditMessage)
Audits the authentication request, using the audit information from the given audit message.
For successful authentications:
{
"result": "SUCCESSFUL",
"requestId": "...",
"principal": [
"demo"
],
"context": {
...
},
"sessionId": "...",
"entries": [
{
"moduleId": "Session-JwtSessionModule",
"result": "SUCCESSFUL",
"info": {
"principal": "alice",
"...": "...",
...
}
}, ...
],
"transactionId" : "..."
}
For failed authentications:
{
"result": "FAILED",
"requestId": "...",
"principal": [
"demo",
... //Multiple auth modules could identify different principals
],
"context": {
...
},
"entries": [
{
"moduleId": "Session-JwtSessionModule",
"result": "FAILED",
"reason": "...",
"info": {
"principal": "bob",
"...": "...",
...
}
}, ...
],
"transactionId" : "..."
}
auditMessage
- The audit message.Copyright © 2010-2018, ForgeRock All Rights Reserved.