Package com.sun.appserv.security
Class AuditModule
java.lang.Object
com.sun.enterprise.security.BaseAuditModule
com.sun.appserv.security.AuditModule
public abstract class AuditModule
extends com.sun.enterprise.security.BaseAuditModule
Base class that should be extended by all classes that wish to provide their own Audit support.
Note that the methods inherited from BaseAuditModule are repeated here so developers see the whole API available to their custom AuditModule implementations by looking just at this one abstract class.
- Version:
- Author:
- Harpreet Singh
-
Field Summary
Fields inherited from class com.sun.enterprise.security.BaseAuditModule
props -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidejbAsWebServiceInvocation(String endpoint, boolean success) Invoked during validation of the web service requestvoidejbInvocation(String user, String ejb, String method, boolean success) Invoked post ejb authorization request.voidwebInvocation(String user, jakarta.servlet.http.HttpServletRequest req, String type, boolean success) Invoked post web authorization request.voidwebServiceInvocation(String uri, String endpoint, boolean success) Invoked during validation of the web service requestMethods inherited from class com.sun.enterprise.security.BaseAuditModule
authentication, init, serverShutdown, serverStarted
-
Constructor Details
-
AuditModule
public AuditModule()
-
-
Method Details
-
webInvocation
public void webInvocation(String user, jakarta.servlet.http.HttpServletRequest req, String type, boolean success) Invoked post web authorization request.- Parameters:
user- the username for whom the authorization was performedreq- the HttpRequest object for the web requesttype- the permission type, hasUserDataPermission or hasResourcePermission.success- the status of the web authorization request
-
ejbInvocation
Invoked post ejb authorization request.- Parameters:
user- the username for whom the authorization was performedejb- the ejb name for which this authorization was performedmethod- the method name for which this authorization was performedsuccess- the status of the ejb authorization request
-
webServiceInvocation
Invoked during validation of the web service request- Parameters:
uri- The URL representation of the web service endpointendpoint- The name of the endpoint representationsuccess- the status of the web service request validation
-
ejbAsWebServiceInvocation
Invoked during validation of the web service request- Parameters:
endpoint- The representation of the web service endpointsuccess- the status of the web service request validation
-