Package | Description |
---|---|
org.forgerock.opendj.ldap |
Classes and interfaces for core types including connections, entries, and
attributes.
|
org.forgerock.opendj.ldap.schema |
Classes and interfaces for constructing and querying LDAP schemas.
|
org.forgerock.opendj.ldif |
Classes and interfaces for reading and writing LDIF.
|
Modifier and Type | Method and Description |
---|---|
static boolean |
Entries.conformsToSchema(Entry entry,
Schema schema,
SchemaValidationPolicy policy,
Collection<LocalizableMessage> errorMessages)
Returns
true if the provided entry is valid according to the
specified schema and schema validation policy. |
static boolean |
Entries.conformsToSchema(Entry entry,
SchemaValidationPolicy policy,
Collection<LocalizableMessage> errorMessages)
Returns
true if the provided entry is valid according to the
default schema and schema validation policy. |
Modifier and Type | Method and Description |
---|---|
SchemaValidationPolicy |
SchemaValidationPolicy.checkAttributesAndObjectClasses(SchemaValidationPolicy.Action policy)
Specifies the policy for verifying that the user attributes in an entry
conform to its object classes.
|
SchemaValidationPolicy |
SchemaValidationPolicy.checkAttributeValues(SchemaValidationPolicy.Action policy)
Specifies the policy for verifying that the user attributes in an entry
conform to their associated attribute type descriptions.
|
SchemaValidationPolicy |
SchemaValidationPolicy.checkDITContentRules(SchemaValidationPolicy.Action policy)
Specifies the policy for validating entries against content rules defined
in the schema.
|
SchemaValidationPolicy |
SchemaValidationPolicy.checkDITStructureRules(SchemaValidationPolicy.Action policy,
SchemaValidationPolicy.EntryResolver resolver)
Specifies the policy for validating entries against structure rules
defined in the schema.
|
SchemaValidationPolicy |
SchemaValidationPolicy.checkNameForms(SchemaValidationPolicy.Action policy)
Specifies the policy for validating entries against name forms defined in
the schema.
|
static SchemaValidationPolicy |
SchemaValidationPolicy.copyOf(SchemaValidationPolicy policy)
Creates a copy of the provided schema validation policy.
|
static SchemaValidationPolicy |
SchemaValidationPolicy.defaultPolicy()
Creates a new schema validation policy with default settings.
|
static SchemaValidationPolicy |
SchemaValidationPolicy.ignoreAll()
Creates a new schema validation policy which will not perform any schema
validation.
|
SchemaValidationPolicy |
SchemaValidationPolicy.requireSingleStructuralObjectClass(SchemaValidationPolicy.Action policy)
Specifies the policy for verifying that entries have only a single
structural object class.
|
Modifier and Type | Method and Description |
---|---|
static SchemaValidationPolicy |
SchemaValidationPolicy.copyOf(SchemaValidationPolicy policy)
Creates a copy of the provided schema validation policy.
|
boolean |
Schema.validateEntry(Entry entry,
SchemaValidationPolicy policy,
Collection<LocalizableMessage> errorMessages)
Returns
true if the provided entry is valid according to this
schema and the specified schema validation policy. |
Modifier and Type | Method and Description |
---|---|
LDIFEntryReader |
LDIFEntryReader.setSchemaValidationPolicy(SchemaValidationPolicy policy)
Specifies the schema validation which should be used when reading LDIF
entry records.
|
LDIFChangeRecordReader |
LDIFChangeRecordReader.setSchemaValidationPolicy(SchemaValidationPolicy policy)
Specifies the schema validation which should be used when reading LDIF
change records.
|
Copyright 2010-2017 ForgeRock AS.