|
J2EE1.4 SDK | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.sun.appserv.security.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(java.lang.String user,
java.lang.String realm,
boolean success)
Invoked post authentication request for a user in a given realm |
void |
ejbInvocation(java.lang.String user,
java.lang.String ejb,
java.lang.String method,
boolean success)
Invoked post ejb authorization request. |
void |
init(java.util.Properties props)
Method is invoked at server startup, during AuditModule initialization. |
void |
webInvocation(java.lang.String user,
HttpServletRequest req,
java.lang.String type,
boolean success)
Invoked post web authorization 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(java.util.Properties props)
props - the properties for the AuditModule. These properties are
defined in the domain.xml
public void authentication(java.lang.String user,
java.lang.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 authentication
public void webInvocation(java.lang.String user,
HttpServletRequest req,
java.lang.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 request
public void ejbInvocation(java.lang.String user,
java.lang.String ejb,
java.lang.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 request
|
J2EE1.4 SDK | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
Copyright 2003 Sun Microsystems, Inc. All rights reserved.