@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 request,
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, setAuditOn
public BaseAuditModule addAuditModule(String name, String classname, Properties props) throws Exception
BaseAuditManager
addAuditModule
in class BaseAuditManager<AuditModule>
name
- of auditModuleException
public BaseAuditModule removeAuditModule(String name)
BaseAuditManager
removeAuditModule
in class BaseAuditManager<AuditModule>
name
- of auditModulepublic void webInvocation(String user, javax.servlet.http.HttpServletRequest request, String type, boolean success)
com.sun.appserv.security.AuditModule.webInvocation
public void ejbInvocation(String user, String ejb, String method, boolean success)
com.sun.appserv.security.AuditModule.ejbInvocation
public void webServiceInvocation(String uri, String endpoint, boolean validRequest)
com.sun.appserv.security.AuditModule.webServiceInvocation
public void ejbAsWebServiceInvocation(String endpoint, boolean validRequest)
com.sun.appserv.security.AuditModule.webServiceInvocation
Copyright © 2019. All rights reserved.