public class DSConfigMgr extends Object implements IDSConfigMgr
Modifier and Type | Field and Description |
---|---|
static String |
AUTH_ID |
static String |
AUTH_PASSWD |
static String |
AUTH_TYPE |
static String |
AUTH_USER_ID |
static String |
BASE_DN |
static String |
CERTIFICATE |
static int |
DEF_INIT_CP_LEN |
static int |
DEF_MAX_CP_LEN |
static String |
DEFAULT |
static String |
HOST |
static String |
INVALID_SERVER_ID |
static String |
INVALID_USER_ID |
static String |
MAX_CONN_POOL |
static String |
MIN_CONN_POOL |
static String |
MISC_CONFIG |
static String |
NAME |
static String |
PORT |
static String |
ROOT
Constants used during parsing.
|
static String |
SCHEMA_BUG_PROPERTY |
static String |
SERVER |
static String |
SERVER_ID |
static String |
SERVER_ID_DOES_NOT_EXIST |
static String |
SERVERGROUP |
static String |
USER |
static String |
VAL_AUTH_ADMIN |
static String |
VAL_AUTH_ANONYMOUS |
static String |
VAL_AUTH_BASIC |
static String |
VAL_AUTH_PROXY |
static String |
VAL_AUTH_REBIND |
static String |
VAL_INACTIVE |
static String |
VAL_STANDARD |
static String |
VAL_STYPE_SIMPLE |
static String |
VAL_STYPE_SSL |
static String |
VALUE |
Modifier and Type | Method and Description |
---|---|
static DSConfigMgr |
getDSConfigMgr()
Get the reference to the DSConfigMgr.com.iplanet.am.util.
|
String |
getHostName(String serverGroupID)
Returns the host names for this id.
|
org.forgerock.opendj.ldap.ConnectionFactory |
getNewAdminConnectionFactory() |
org.forgerock.opendj.ldap.ConnectionFactory |
getNewBasicConnectionFactory()
Get a new connection from this servergroup.
|
org.forgerock.opendj.ldap.ConnectionFactory |
getNewConnectionFactory(String serverGroupID,
LDAPUser.Type authType)
Get a new connection from this servergroup.
|
org.forgerock.opendj.ldap.ConnectionFactory |
getNewProxyConnectionFactory()
Get a new proxy connection from this servergroup.
|
ServerGroup |
getServerGroup(String serverGroupID)
Get the ServerGroup object reference for this serverGroupID.
|
ServerInstance |
getServerInstance(LDAPUser.Type authType)
Get the instance from server group, which is defined as default.
|
ServerInstance |
getServerInstance(String serverGroupID,
LDAPUser.Type authType)
Given the server group ID, this method returns the active and best
available server instance.
|
static DSConfigMgr |
getStableDSConfigMgr()
Gets the stable DSConfigMgr instance after the system has been fully initialized.
|
static void |
initInstance(InputStream is,
boolean isBootstrapComplete) |
String |
toString() |
public static final String ROOT
public static final String SERVERGROUP
public static final String SERVER
public static final String USER
public static final String SERVER_ID
public static final String CERTIFICATE
public static final String AUTH_USER_ID
public static final String AUTH_ID
public static final String AUTH_PASSWD
public static final String AUTH_TYPE
public static final String BASE_DN
public static final String MISC_CONFIG
public static final String NAME
public static final String HOST
public static final String PORT
public static final String MAX_CONN_POOL
public static final String MIN_CONN_POOL
public static final String VALUE
public static final String VAL_INACTIVE
public static final String VAL_AUTH_BASIC
public static final String VAL_AUTH_PROXY
public static final String VAL_AUTH_REBIND
public static final String VAL_AUTH_ADMIN
public static final String VAL_AUTH_ANONYMOUS
public static final String VAL_STYPE_SSL
public static final String VAL_STYPE_SIMPLE
public static final int DEF_INIT_CP_LEN
public static final int DEF_MAX_CP_LEN
public static final String SCHEMA_BUG_PROPERTY
public static final String VAL_STANDARD
public static final String INVALID_SERVER_ID
public static final String SERVER_ID_DOES_NOT_EXIST
public static final String INVALID_USER_ID
public static final String DEFAULT
public static DSConfigMgr getDSConfigMgr() throws LDAPServiceException
LDAPServiceException
public static void initInstance(InputStream is, boolean isBootstrapComplete) throws LDAPServiceException
LDAPServiceException
public static DSConfigMgr getStableDSConfigMgr() throws LDAPServiceException
LDAPServiceException
public ServerGroup getServerGroup(String serverGroupID)
getServerGroup
in interface IDSConfigMgr
serverGroupID
- The serverGroup ID for the ServerGroup to be retrieved.public org.forgerock.opendj.ldap.ConnectionFactory getNewProxyConnectionFactory() throws LDAPServiceException
LDAPServiceException
- If there is no user in the server group with this
authentication type.public org.forgerock.opendj.ldap.ConnectionFactory getNewAdminConnectionFactory() throws LDAPServiceException
LDAPServiceException
public org.forgerock.opendj.ldap.ConnectionFactory getNewBasicConnectionFactory() throws LDAPServiceException
LDAPServiceException
- If there is no user in the server group with this
authentication type.public org.forgerock.opendj.ldap.ConnectionFactory getNewConnectionFactory(String serverGroupID, LDAPUser.Type authType) throws LDAPServiceException
serverGroupID
- The server group ID for which the connection is to be created.authType
- What kind of authentication do you want?LDAPServiceException
LDAPUser.Type
public String getHostName(String serverGroupID)
IDSConfigMgr
getHostName
in interface IDSConfigMgr
serverGroupID
- Server Group ID.public ServerInstance getServerInstance(String serverGroupID, LDAPUser.Type authType)
serverGroupID
- The serverGroupID for which the server instance is fetched.authType
- The auth type is the privilege that the user in the
configuration must have.LDAPUser.Type
public ServerInstance getServerInstance(LDAPUser.Type authType)
getServerInstance
in interface IDSConfigMgr
authType
- The auth type is the privilege that the user in the
configuration must have.LDAPUser.Type
Copyright © 2010–2025 Open Identity Platform Community. All rights reserved.