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 ldifFile)
Returns a LDIF management context on the provided LDIF file.
|
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 ldifFile) throws IOException
ldifFile
- The LDIF file to manageIOException
- If problems occurs while reading the file.protected Driver getDriver()
DriverBasedManagementContext
getDriver
in class DriverBasedManagementContext
Copyright 2010-2020 ForgeRock AS.