Package | Description |
---|---|
org.opends.admin.ads |
Defines the different classes that are you used to have a read-only
view of the configuration of the servers that are registered in the
Administration Directory Server (ADS).
|
Modifier and Type | Method and Description |
---|---|
void |
ADSContext.createAdminData(String backendName)
Creates the Administration Data in the server.
|
void |
ADSContext.createAdministrationSuffix(String backendName)
Creates the Administration Suffix.
|
void |
ADSContext.createAdministrator(Map<ADSContext.AdministratorProperty,Object> adminProperties)
Creates an Administrator in the ADS.
|
void |
ADSContext.createServerGroup(Map<ADSContext.ServerGroupProperty,Object> serverGroupProperties)
Creates a Server Group in the ADS.
|
void |
ADSContext.deleteAdministrator(Map<ADSContext.AdministratorProperty,Object> adminProperties)
Deletes the administrator in the ADS.
|
void |
ADSContext.deleteServerGroup(Map<ADSContext.ServerGroupProperty,Object> serverGroupProperties)
Deletes a Server Group in the ADS.
|
Set<String> |
ADSContext.getServerGroupMemberList(String serverGroupId)
Returns the member list of a group of server.
|
static String |
ADSContext.getServerIdFromServerProperties(Map<ADSContext.ServerProperty,Object> serverProperties)
This method returns the DN of the entry that corresponds to the given
server properties.
|
Map<String,byte[]> |
ADSContext.getTrustedCertificates()
Return the set of valid (i.e., not tagged as compromised) instance key-pair
public-key certificate entries in ADS.
|
boolean |
ADSContext.hasAdminData()
Returns
true if the server contains Administration Data and
false otherwise. |
boolean |
ADSContext.isAdministratorAlreadyRegistered(String uid)
Returns whether a given administrator is already registered or not.
|
boolean |
ADSContext.isServerAlreadyRegistered(Map<ADSContext.ServerProperty,Object> serverProperties)
Returns whether a given server is already registered or not.
|
void |
ADSContext.mergeWithRegistry(ADSContext adsCtx)
Merge the contents of this ADSContext with the contents of the provided
ADSContext.
|
Set<Map<ADSContext.AdministratorProperty,Object>> |
ADSContext.readAdministratorRegistry()
Returns a set containing the administrators that are defined in the ADS.
|
Set<Map<ADSContext.ServerGroupProperty,Object>> |
ADSContext.readServerGroupRegistry()
Returns a set containing the server groups that are defined in the ADS.
|
Set<Map<ADSContext.ServerProperty,Object>> |
ADSContext.readServerRegistry()
Returns a set containing the servers that are registered in the ADS.
|
int |
ADSContext.registerOrUpdateServer(Map<ADSContext.ServerProperty,Object> serverProperties)
A convenience method that takes some server properties as parameter and if
there is no server registered associated with those properties, registers
it and if it is already registered, updates it.
|
void |
ADSContext.registerServer(Map<ADSContext.ServerProperty,Object> serverProperties)
Method called to register a server in the ADS.
|
void |
ADSContext.removeAdminData(boolean removeAdministrators)
Removes the administration data.
|
void |
ADSContext.removeServerGroupProp(String groupID,
Set<ADSContext.ServerGroupProperty> serverGroupProperties)
Updates the properties of a Server Group in the ADS.
|
void |
ADSContext.unregisterServer(Map<ADSContext.ServerProperty,Object> serverProperties)
Method called to unregister a server in the ADS.
|
void |
ADSContext.updateAdministrator(Map<ADSContext.AdministratorProperty,Object> adminProperties,
String newAdminUserId)
Updates and administrator registered in the ADS.
|
void |
ADSContext.updateServer(Map<ADSContext.ServerProperty,Object> serverProperties,
String newServerId)
Method called to update the properties of a server in the ADS.
|
void |
ADSContext.updateServerGroup(String groupID,
Map<ADSContext.ServerGroupProperty,Object> serverGroupProperties)
Updates the properties of a Server Group in the ADS.
|
Constructor and Description |
---|
TopologyCacheException(ADSContextException ace)
Constructor for the exception that must be generated when an
ADSContextException occurs.
|
Copyright © 2010-2016 ForgeRock AS. All Rights Reserved.