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.
|
org.opends.server.core |
Contains various classes that comprise the core of the Directory Server codebase.
|
Modifier and Type | Method and Description |
---|---|
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. |
static boolean |
Entries.conformsToSchema(Entry entry,
SchemaValidationPolicy policy,
Collection<LocalizableMessage> errorMessages,
Schema schema)
Returns
true if the provided entry is valid according to the
specified 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,
Function<Dn,Entry,LdapException> parentEntryResolver)
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.
|
Modifier and Type | Method and Description |
---|---|
SchemaValidationPolicy |
CoreConfigManager.serverPolicy()
Returns the default schema validation policy that should be used by the server.
|
Copyright 2010-2022 ForgeRock AS.