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.
|
void |
readSchema(InitialLdapContext ctx)
Reads the schema.
|
getBaseSchema, readSchemapublic RemoteSchemaLoader()
public void readSchema(InitialLdapContext ctx) throws NamingException, DirectoryException, InitializationException, ConfigException
ctx - the connection to be used to load the schema.NamingException - 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 SchemaLoaderCopyright © 2010-2015 ForgeRock AS. All Rights Reserved.