FileDocCategorySizeDatePackage
Auditor.javaAPI DocGlassfish v2 API3327Fri May 04 22:31:50 BST 2007org.apache.catalina

Auditor

public interface Auditor
Defines interface of classes which implement audit functionality.

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

author
Jyri J. Virkki
version
$Revision: 1.3 $

Fields Summary
Constructors Summary
Methods Summary
public voidauthentication(java.lang.String user, java.lang.String realm, boolean success)
Notify auditor of an authentication event.

This method will get invoked on every login attempt whether it was approved or denied by the authentication infrastructure.

param
user the user for whom authentication was processed
param
realm the realm which handled the authentication
param
succcess true if the authentication succeeded, false if denied

public voidwebInvocation(HttpRequest req, boolean success)
Notify auditor of a servlet container invocation.

This method will get invoked on every request whether it was permitted or not by the authorization infrastructure.

param
req the HttpRequest
param
success true if the invocation was allowed, false if denied.