public final class TaskUtils extends Object
Modifier and Type | Method and Description |
---|---|
static void |
activateBackend(String backendID)
Activates a backend.
|
static void |
deactivateBackend(String backendID)
Deactivates a backend using an internal modify operation on the backend configuration entry.
|
static Map<String,Entry> |
getBackendConfigEntries()
Get all the backend configuration entries defined in the server mapped by their backend ID.
|
static String |
getBackendID(Entry configEntry)
Get the backend ID of a backend configuration entry.
|
public static String getBackendID(Entry configEntry)
configEntry
- A backend configuration entry.public static Map<String,Entry> getBackendConfigEntries()
public static void activateBackend(String backendID) throws LdapException
Load the backend's implementation class,
configures
, opens
and registers it.
backendID
- Identifies the backend to be activated.LdapException
- If the backend cannot be activated (e.g: backendID does note exists).public static void deactivateBackend(String backendID) throws LdapException
backendID
- Identifies the backend to be disabled.LdapException
- If the internal modify operation failed.Copyright 2010-2022 ForgeRock AS.