public class ADSContext extends Object
Modifier and Type | Class and Description |
---|---|
static class |
ADSContext.AdministratorProperty
The enumeration containing the different Administrator properties.
|
static class |
ADSContext.ADSPropertySyntax
Enumeration containing the different server properties syntaxes that could be stored in the ADS.
|
static class |
ADSContext.ServerGroupProperty
Enumeration containing the different server group properties that are stored in the ADS.
|
static class |
ADSContext.ServerProperty
Enumeration containing the different server properties that are stored in the ADS.
|
Modifier and Type | Field and Description |
---|---|
static String |
ADMIN_DATA_BACKEND_NAME
The default backend name of the administration data.
|
static Dn |
ADMINISTRATORS_ADMIN_DATA_DN
The parent entry of the administrator entries.
|
static Dn |
ALL_SERVER_GROUP_ADMIN_DATA_DN
The all server group entry DN.
|
static String |
ALL_SERVER_GROUP_NAME
The default server group which will contain all registered servers.
|
static Dn |
INSTANCE_KEYS_ADMIN_DATA_DN
The parent entry of the server key entries in admin data.
|
static Dn |
SECRET_KEYS_ADMIN_DATA_DN
The parent entry of the secret key entries in admin data.
|
static Dn |
SERVERS_ADMIN_DATA_DN
The parent entry of the server entries.
|
Modifier and Type | Method and Description |
---|---|
static AddRequest |
createGlobalAdministratorAddRequest(String adminUid,
String adminPwd)
Builds and returns an
AddRequest to add the global administrator entry in the admin data backend. |
org.opends.server.tools.dsreplication.ConnectionWrapper |
getConnection()
Returns the connection used to retrieve information by this ADSContext.
|
HostPort |
getHostPort()
Returns the host name and port number of this connection.
|
Map<String,byte[]> |
getTrustedCertificates()
Return the set of valid (i.e., not tagged as compromised) instance key-pair public-key certificate entries in
ADS.
|
String |
toString() |
public static final String ADMIN_DATA_BACKEND_NAME
public static final String ALL_SERVER_GROUP_NAME
public static final Dn SERVERS_ADMIN_DATA_DN
public static final Dn ALL_SERVER_GROUP_ADMIN_DATA_DN
public static final Dn ADMINISTRATORS_ADMIN_DATA_DN
public static final Dn INSTANCE_KEYS_ADMIN_DATA_DN
public static final Dn SECRET_KEYS_ADMIN_DATA_DN
public org.opends.server.tools.dsreplication.ConnectionWrapper getConnection()
public HostPort getHostPort()
public static AddRequest createGlobalAdministratorAddRequest(String adminUid, String adminPwd) throws ADSContextException
AddRequest
to add the global administrator entry in the admin data backend.adminUid
- The global administrator UID.adminPwd
- The global administrator password.AddRequest
to add the global administrator entry in the admin data backend.ADSContextException
- if something goes wrong.public Map<String,byte[]> getTrustedCertificates() throws ADSContextException
ADSContextException
- in case of problems with the entry search.CryptoManagerImpl.getTrustedCertificates()
Copyright 2010-2022 ForgeRock AS.