Package com.sun.enterprise.security
Class BaseAuditModule
java.lang.Object
com.sun.enterprise.security.BaseAuditModule
Base class that should be extended by all classes that wish to provide their own Audit support.
- Version:
- Author:
- Harpreet Singh
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
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
Invoked upon completion of the server shutdownvoid
Invoked upon completion of the server startup
-
Field Details
-
props
-
-
Constructor Details
-
BaseAuditModule
public BaseAuditModule()
-
-
Method Details
-
init
Method is invoked at server startup, during AuditModule initialization. If method returns without any exception then S1AS 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
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
-