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 a management context for the provided LDIF configuration file and
default schema . |
static ManagementContext |
newLdifManagementContext(Path ldifPath,
Schema schema)
Returns a management context for the provided LDIF configuration file and schema.
|
static ManagementContext |
newManagementContext(Connection connection,
LdapProfile profile)
Creates a new LDAP management context using the provided LDAP connection and
default schema . |
static ManagementContext |
newManagementContext(Connection connection,
LdapProfile profile,
Schema schema)
Creates a new LDAP management context using the provided LDAP connection and provided schema.
|
close, deleteManagedObject, deleteManagedObject, deleteManagedObject, getManagedObject, getPropertyValue, getPropertyValues, getRootConfiguration, getRootConfigurationManagedObject, listManagedObjects, listManagedObjects, listManagedObjects, managedObjectExists
public static ManagementContext newManagementContext(Connection connection, LdapProfile profile)
default schema
.connection
- The LDAP connection.profile
- The LDAP profile.public static ManagementContext newManagementContext(Connection connection, LdapProfile profile, Schema schema)
connection
- The LDAP connection.profile
- The LDAP profile.schema
- The schema .public static ManagementContext newLdifManagementContext(Path ldifPath) throws IOException
default schema
.ldifPath
- The path to the LDIF fileIOException
- If problems occurs while reading the filepublic static ManagementContext newLdifManagementContext(Path ldifPath, Schema schema) throws IOException
ldifPath
- The path to the LDIF fileschema
- The schemaIOException
- If problems occurs while reading the fileprotected Driver getDriver()
DriverBasedManagementContext
getDriver
in class DriverBasedManagementContext
Copyright 2010-2022 ForgeRock AS.