public interface Auditor
An Auditor class can be registered with a Context and will receive notification of all auditable events processed by the Authenticator of that context.
IASRI 4823322
Modifier and Type | Method and Description |
---|---|
void |
authentication(String user,
String realm,
boolean success)
Notify auditor of an authentication event.
|
void |
webInvocation(HttpRequest req,
boolean success)
Notify auditor of a servlet container invocation.
|
void authentication(String user, String realm, boolean success)
This method will get invoked on every login attempt whether it was approved or denied by the authentication infrastructure.
user
- the user for whom authentication was processedrealm
- the realm which handled the authenticationsuccess
- true if the authentication succeeded, false if deniedvoid webInvocation(HttpRequest req, boolean success)
This method will get invoked on every request whether it was permitted or not by the authorization infrastructure.
req
- the HttpRequestsuccess
- true if the invocation was allowed, false if denied.Copyright © 2018. All rights reserved.