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