@Service @Singleton @Rank(value=20) public final class AppServerAuditManager extends BaseAuditManager<AuditModule>
This class delegates the nucleus-based work of handling server start-up and shutdown and user authentication to its superclass, adding only the work specific to EE auditing here.
auditOn, typedModules| Constructor and Description |
|---|
AppServerAuditManager() |
| Modifier and Type | Method and Description |
|---|---|
BaseAuditModule |
addAuditModule(String name,
String classname,
Properties props)
Add the given audit module to the list of loaded audit module.
|
void |
ejbAsWebServiceInvocation(String endpoint,
boolean validRequest)
This method is called for the web service calls with MLS set
and the endpoints deployed as servlets
|
void |
ejbInvocation(String user,
String ejb,
String method,
boolean success)
logs the ejb authorization call for all ejb modules
|
BaseAuditModule |
removeAuditModule(String name)
Remove the audit module of given name from the loaded list.
|
void |
webInvocation(String user,
javax.servlet.http.HttpServletRequest req,
String type,
boolean success)
logs the web authorization call for all loaded modules
|
void |
webServiceInvocation(String uri,
String endpoint,
boolean validRequest)
This method is called for the web service calls with MLS set
and the endpoints deployed as servlets
|
authentication, getLocalStrings, getLogger, instances, isAuditOn, loadAuditModules, moduleName, serverShutdown, serverStarted, setAuditOnpublic BaseAuditModule addAuditModule(String name, String classname, Properties props) throws Exception
BaseAuditManageraddAuditModule in class BaseAuditManager<AuditModule>name - of auditModuleExceptionpublic BaseAuditModule removeAuditModule(String name)
BaseAuditManagerremoveAuditModule in class BaseAuditManager<AuditModule>name - of auditModulepublic void webInvocation(String user, javax.servlet.http.HttpServletRequest req, String type, boolean success)
com.sun.appserv.security.AuditModule.webInvocationpublic void ejbInvocation(String user, String ejb, String method, boolean success)
com.sun.appserv.security.AuditModule.ejbInvocationpublic void webServiceInvocation(String uri, String endpoint, boolean validRequest)
com.sun.appserv.security.AuditModule.webServiceInvocationpublic void ejbAsWebServiceInvocation(String endpoint, boolean validRequest)
com.sun.appserv.security.AuditModule.webServiceInvocationCopyright © 2017. All rights reserved.