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(File 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(File 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-2017 ForgeRock AS.