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