Uses of Class
org.forgerock.opendj.ldap.schema.SchemaValidationPolicy
Package
Description
Classes and interfaces for core types including connections, entries, and
attributes.
Classes and interfaces for constructing and querying LDAP schemas.
Classes and interfaces for reading and writing LDIF.
Contains various classes that comprise the core of the Directory Server codebase.
-
Uses of SchemaValidationPolicy in org.forgerock.opendj.ldap
Modifier and TypeMethodDescriptionstatic boolean
Entries.conformsToSchema
(Entry entry, SchemaValidationPolicy policy, Collection<LocalizableMessage> errorMessages) Returnstrue
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) Returnstrue
if the provided entry is valid according to the specified schema and schema validation policy. -
Uses of SchemaValidationPolicy in org.forgerock.opendj.ldap.schema
Modifier and TypeMethodDescriptionSchemaValidationPolicy.checkAttributesAndObjectClasses
(SchemaValidationPolicy.Action policy) Specifies the policy for verifying that the user attributes in an entry conform to its object classes.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.checkDitContentRules
(SchemaValidationPolicy.Action policy) Specifies the policy for validating entries against content rules defined in the schema.SchemaValidationPolicy.checkDitStructureRules
(SchemaValidationPolicy.Action policy, Function<Dn, Entry, LdapException> parentEntryResolver) Specifies the policy for validating entries against structure rules defined in the schema.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.requireSingleStructuralObjectClass
(SchemaValidationPolicy.Action policy) Specifies the policy for verifying that entries have only a single structural object class.Modifier and TypeMethodDescriptionstatic SchemaValidationPolicy
SchemaValidationPolicy.copyOf
(SchemaValidationPolicy policy) Creates a copy of the provided schema validation policy.boolean
Schema.validateEntry
(Entry entry, SchemaValidationPolicy policy, Collection<LocalizableMessage> errorMessages) Returnstrue
if the provided entry is valid according to this schema and the specified schema validation policy. -
Uses of SchemaValidationPolicy in org.forgerock.opendj.ldif
Modifier and TypeMethodDescriptionLdifChangeRecordReader.setSchemaValidationPolicy
(SchemaValidationPolicy policy) Specifies the schema validation which should be used when reading LDIF change records.LdifEntryReader.setSchemaValidationPolicy
(SchemaValidationPolicy policy) Specifies the schema validation which should be used when reading LDIF entry records. -
Uses of SchemaValidationPolicy in org.opends.server.core
Modifier and TypeMethodDescriptionCoreConfigManager.serverPolicy()
Returns the default schema validation policy that should be used by the server.