Package com.sun.enterprise.security
Class BaseAuditModule
- java.lang.Object
-
- com.sun.enterprise.security.BaseAuditModule
-
- Direct Known Subclasses:
AuditModule
public abstract class BaseAuditModule extends Object
Base class that should be extended by all classes that wish to provide their own Audit support.- Version:
- Author:
- Harpreet Singh
-
-
Field Summary
Fields Modifier and Type Field Description protected Properties
props
-
Constructor Summary
Constructors Constructor Description BaseAuditModule()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
authentication(String user, String realm, boolean success)
Invoked post authentication request for a user in a given realmvoid
init(Properties props)
Method is invoked at server startup, during AuditModule initialization.void
serverShutdown()
Invoked upon completion of the server shutdownvoid
serverStarted()
Invoked upon completion of the server startup
-
-
-
Field Detail
-
props
protected Properties props
-
-
Method Detail
-
init
public void init(Properties props)
Method is invoked at server startup, during AuditModule initialization. If method returns without any exception then Payara assumes that the module is ready to serve any requests.- Parameters:
props
- the properties for the AuditModule. These properties are defined in the domain.xml
-
authentication
public void authentication(String user, String realm, boolean success)
Invoked post authentication request for a user in a given realm- Parameters:
user
- username for whom the authentication request was maderealm
- the realm name under which the user is authenticated.success
- the status of the authentication
-
serverStarted
public void serverStarted()
Invoked upon completion of the server startup
-
serverShutdown
public void serverShutdown()
Invoked upon completion of the server shutdown
-
-