Uses of Class
org.forgerock.opendj.ldap.schema.SchemaValidationPolicy
-
Packages that use SchemaValidationPolicy 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. -
-
Uses of SchemaValidationPolicy in org.forgerock.opendj.ldap
Methods in org.forgerock.opendj.ldap with parameters of type SchemaValidationPolicy Modifier and Type Method Description static 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
Methods in org.forgerock.opendj.ldap.schema that return SchemaValidationPolicy Modifier and Type Method 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.Methods in org.forgerock.opendj.ldap.schema with parameters of type SchemaValidationPolicy Modifier and Type Method 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)
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
Methods in org.forgerock.opendj.ldif with parameters of type SchemaValidationPolicy Modifier and Type Method Description LdifChangeRecordReader
LdifChangeRecordReader. setSchemaValidationPolicy(SchemaValidationPolicy policy)
Specifies the schema validation which should be used when reading LDIF change records.LdifEntryReader
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
Methods in org.opends.server.core that return SchemaValidationPolicy Modifier and Type Method Description SchemaValidationPolicy
CoreConfigManager. serverPolicy()
Returns the default schema validation policy that should be used by the server.
-