|
SunONE Application Server v8.0 PE | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.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.xmlpublic 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 authenticationpublic 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, hasRoleRefPermission,
or hasResourcePermission.success
- the status of the web authorization requestpublic 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
|
SunONE Application Server v8.0 PE | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Copyright 2003 Sun Microsystems, Inc. All rights reserved.