|
Java EE 5 SDK | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.sun.appserv.security.AuditModule
public abstract class AuditModule
Base class that should be extended by all classes that wish to provide their own Audit support.
Constructor Summary | |
---|---|
AuditModule()
|
Method Summary | |
---|---|
void |
authentication(String user,
String realm,
boolean success)
Invoked post authentication request for a user in a given realm |
void |
ejbAsWebServiceInvocation(String endpoint,
boolean success)
Invoked during validation of the web service request |
void |
ejbInvocation(String user,
String ejb,
String method,
boolean success)
Invoked post ejb authorization request. |
void |
init(Properties props)
Method is invoked at server startup, during AuditModule initialization. |
void |
serverShutdown()
Invoked upon completion of the server shutdown |
void |
serverStarted()
Invoked upon completion of the server startup |
void |
webInvocation(String user,
HttpServletRequest req,
String type,
boolean success)
Invoked post web authorization request. |
void |
webServiceInvocation(String uri,
String endpoint,
boolean success)
Invoked during validation of the web service request |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public AuditModule()
Method Detail |
---|
public void init(Properties props)
props
- the properties for the AuditModule. These properties are
defined in the domain.xmlpublic void authentication(String user, String realm, boolean success)
user
- username for whom the authentication request was maderealm
- the realm name under which the user is authenticated.success
- the status of the authenticationpublic void webInvocation(String user, HttpServletRequest req, String type, boolean success)
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 requestpublic void ejbInvocation(String user, String ejb, String method, boolean success)
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 requestpublic void webServiceInvocation(String uri, String endpoint, boolean success)
uri
- The URL representation of the web service endpointendpoint
- The name of the endpoint representationsuccess
- the status of the web service request validationpublic void ejbAsWebServiceInvocation(String endpoint, boolean success)
endpoint
- The representation of the web service endpointsuccess
- the status of the web service request validationpublic void serverStarted()
public void serverShutdown()
|
Java EE 5 SDK | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Copyright 2006 Sun Microsystems, Inc. All rights reserved.