public final class LdapManagementContext extends DriverBasedManagementContext
Modifier and Type | Method and Description |
---|---|
protected Driver |
getDriver()
Gets the driver associated with this management context.
|
static ManagementContext |
newLdifManagementContext(Path ldifPath)
Returns an Ldif management context on the provided Ldif file path.
|
static ManagementContext |
newManagementContext(Connection connection,
LdapProfile profile)
Create a new LDAP management context using the provided LDAP connection.
|
close, deleteManagedObject, deleteManagedObject, deleteManagedObject, getManagedObject, getPropertyValue, getPropertyValues, getRootConfiguration, getRootConfigurationManagedObject, listManagedObjects, listManagedObjects, listManagedObjects, managedObjectExists
public static ManagementContext newManagementContext(Connection connection, LdapProfile profile)
connection
- The LDAP connection.profile
- The LDAP profile.public static ManagementContext newLdifManagementContext(Path ldifPath) throws IOException
ldifPath
- The path to the LDIF fileIOException
- If problems occurs while reading the fileprotected Driver getDriver()
DriverBasedManagementContext
getDriver
in class DriverBasedManagementContext
Copyright 2010-2018 ForgeRock AS.