public class RemoteSchemaLoader extends SchemaLoader
matchingRulesToKeep, syntaxesToKeep
Constructor and Description |
---|
RemoteSchemaLoader()
In remote mode we cannot load the matching rules and syntaxes from local configuration, so we should instead
bootstrap them from the SDK's core schema.
|
Modifier and Type | Method and Description |
---|---|
Schema |
getSchema()
Returns the schema that was read.
|
Schema |
readSchema(ConnectionWrapper connWrapper)
Reads and returns the schema.
|
getBaseSchema, readSchema
public RemoteSchemaLoader()
public Schema readSchema(ConnectionWrapper connWrapper) throws LdapException, DirectoryException, InitializationException, ConfigException
connWrapper
- the connection to be used to load the schema.LdapException
- if an error occurs reading the schema.DirectoryException
- if an error occurs parsing the schema.InitializationException
- if an error occurs finding the base schema.ConfigException
- if an error occurs loading the configuration required to use the schema classes.public Schema getSchema()
getSchema
in class SchemaLoader
Copyright 2010-2020 ForgeRock AS.