public final class BackendToolUtils extends Object
Modifier and Type | Class and Description |
---|---|
static class |
BackendToolUtils.BackendInfo
Contains backend infos:
LocalBackend , baseDNs and BackendCfg . |
Modifier and Type | Method and Description |
---|---|
static Set<Dn> |
getBaseDn(BackendCfg backendCfg)
Gets the base DNs from the provided backend configuration.
|
static SortedSet<Dn> |
getBaseDn(BackendCfgClient backendCfgClient)
Gets the base DNs from the provided backend configuration.
|
static List<BackendToolUtils.BackendInfo> |
getLocalBackends()
Returns information about the local backends defined in the Directory Server configuration.
|
public static List<BackendToolUtils.BackendInfo> getLocalBackends()
public static SortedSet<Dn> getBaseDn(BackendCfgClient backendCfgClient) throws ExpressionException
backendCfgClient
- the backend configurationExpressionException
- if the backend configuration contains some unvalued expressionpublic static Set<Dn> getBaseDn(BackendCfg backendCfg)
backendCfg
- the backend configurationCopyright 2010-2022 ForgeRock AS.