public final class AuditMgrFactory extends Object
The default implementation class is specified as AuditMgrImpl
but can be overridden by
adding the GlobalIds.AUDIT_IMPLEMENTATION
config property.
Constructor and Description |
---|
AuditMgrFactory() |
Modifier and Type | Method and Description |
---|---|
static AuditMgr |
createInstance()
Create and return a reference to
AuditMgr object using HOME context. |
static AuditMgr |
createInstance(Session adminSess)
Create and return a reference to
AuditMgr object using HOME context. |
static AuditMgr |
createInstance(String contextId)
Create and return a reference to
AuditMgr object. |
static AuditMgr |
createInstance(String contextId,
Session adminSess)
Create and return a reference to
AuditMgr object. |
public static AuditMgr createInstance() throws SecurityException
AuditMgr
object using HOME context.AuditMgr
.SecurityException
- in the event of failure during instantiation.public static AuditMgr createInstance(String contextId) throws SecurityException
AuditMgr
object.contextId
- maps to sub-tree in DIT, for example ou=contextId, dc=jts, dc = com.AuditMgr
.SecurityException
- in the event of failure during instantiation.public static AuditMgr createInstance(Session adminSess) throws SecurityException
AuditMgr
object using HOME context.adminSess
- contains a valid Fortress A/RBAC Session object.AuditMgr
.SecurityException
- in the event of failure during instantiation.public static AuditMgr createInstance(String contextId, Session adminSess) throws SecurityException
AuditMgr
object.contextId
- maps to sub-tree in DIT, for example ou=contextId, dc=jts, dc = com.adminSess
- contains a valid Fortress A/RBAC Session object.AuditMgr
.SecurityException
- in the event of failure during instantiation.Copyright © 2003-2016, The Apache Software Foundation. All Rights Reserved. Generated 20160718-1621