public final class GroupMgrFactory extends Object
The default implementation class is specified as GroupMgrImpl
but can be
overridden by adding the GlobalIds.GROUP_IMPLEMENTATION
config property.
Modifier and Type | Method and Description |
---|---|
static GroupMgr |
createInstance()
Create and return a reference to
GroupMgr object using HOME context. |
static GroupMgr |
createInstance(Session adminSess)
Create and return a reference to
GroupMgr object using HOME context. |
static GroupMgr |
createInstance(String contextId)
Create and return a reference to
GroupMgr object. |
static GroupMgr |
createInstance(String contextId,
Session adminSess)
Create and return a reference to
GroupMgr object. |
public static GroupMgr createInstance() throws SecurityException
GroupMgr
object using HOME context.AdminMgr
.SecurityException
- in the event of failure during instantiation.public static GroupMgr createInstance(String contextId) throws SecurityException
GroupMgr
object.contextId
- maps to sub-tree in DIT, for example ou=contextId, dc=jts, dc = com.GroupMgr
.SecurityException
- in the event of failure during instantiation.public static GroupMgr createInstance(Session adminSess) throws SecurityException
GroupMgr
object using HOME context.adminSess
- contains a valid Fortress A/RBAC Session object.AdminMgr
.SecurityException
- in the event of failure during instantiation.public static GroupMgr createInstance(String contextId, Session adminSess) throws SecurityException
GroupMgr
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