Uses of Class
org.forgerock.opendj.ldap.schema.Schema
-
Packages that use Schema Package Description org.forgerock.opendj.config.client.ldap LDAP configuration transport implementation.org.forgerock.opendj.config.schema This package contains LDAP schema syntaxes for attributes that can handle either a commons-config expression using the pattern "&{some.token}" or an actual value corresponding to the underlying syntax.org.forgerock.opendj.io Classes and interfaces providing I/O functionality.org.forgerock.opendj.ldap Classes and interfaces for core types including connections, entries, and attributes.org.forgerock.opendj.ldap.controls Classes and interfaces for common LDAP controls.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.forgerock.opendj.rest2ldap APIs for implementing REST to LDAP gateways.org.forgerock.opendj.rest2ldap.authz This package containsFilterto authenticate and authorize LDAP connections.org.forgerock.opendj.rest2ldap.schema This package contains LDAP schema syntaxes and matching rules for JSON based attributes.org.opends.server.api Contains a number of API declarations for use throughout the Directory Server.org.opends.server.authorization.dseecompat Contains the Directory Server Sun Java System Directory Server Enterprise Edition (dseecompat) compatability access control handler implementation.org.opends.server.config Contains code used to interact with the Directory Server configuration.org.opends.server.core Contains various classes that comprise the core of the Directory Server codebase.org.opends.server.replication.plugin This package contains the part of the Multi-master replication code that works on the Directory Server side.org.opends.server.schema Contains implementations of various Directory Server schema elements.org.opends.server.tasks Contains implementations for various Directory Server tasks.org.opends.server.types Contains implementations for a number of Directory Server data types.org.opends.server.util Contains implementations for various Directory Server utility classes and methods which may be used throughout the server but do not necessarily fit in elsewhere. -
-
Uses of Schema in org.forgerock.opendj.config.client.ldap
Methods in org.forgerock.opendj.config.client.ldap with parameters of type Schema Modifier and Type Method Description static ManagementContextLdapManagementContext. newLdifManagementContext(Path ldifPath, Schema schema)Returns a management context for the provided LDIF configuration file and schema. -
Uses of Schema in org.forgerock.opendj.config.schema
Methods in org.forgerock.opendj.config.schema with parameters of type Schema Modifier and Type Method Description static SchemaBuilderExpressionSchema. addExpressionSyntaxesToSchema(SchemaBuilder builder, Schema schema)Adds the configuration expression syntaxes to the provided schema builder. -
Uses of Schema in org.forgerock.opendj.io
Methods in org.forgerock.opendj.io with parameters of type Schema Modifier and Type Method Description static AttributeLdap. readAttribute(Asn1Reader reader, DecodeOptions options, Schema schema)Reads the next ASN.1 element from the providedASN1Readeras anAttribute.static ModificationLdap. readModification(Asn1Reader reader, DecodeOptions options, Schema schema)Reads the next ASN.1 element from the providedASN1Readeras aModification. -
Uses of Schema in org.forgerock.opendj.ldap
Methods in org.forgerock.opendj.ldap that return Schema Modifier and Type Method Description SchemaMemoryBackend. getSchema()Returns the schema used by this backend.SchemaSchemaResolver. resolveSchema(String dn)Finds the appropriate schema for use with the provided distinguished name.Methods in org.forgerock.opendj.ldap with parameters of type Schema Modifier and Type Method Description static AttributeDescriptionFunctions. byteStringToAttributeDescription(ByteString value, Schema schema)Parses aByteStringas anAttributeDescriptionusing the provided schema.static Function<ByteString,Dn,LocalizedIllegalArgumentException>Functions. byteStringToDn(Schema schema)Returns a function which parsesDNs using the provided schema.Comparator<Entry>SortKey. comparator(Schema schema)Returns aComparatorwhich can be used to compare entries using this sort key.static Comparator<Entry>SortKey. comparator(Schema schema, Collection<SortKey> keys)Returns aComparatorwhich can be used to compare entries using the provided list of sort keys.static Comparator<Entry>SortKey. comparator(Schema schema, SortKey... keys)Returns aComparatorwhich can be used to compare entries using the provided list of sort keys.static booleanEntries. conformsToSchema(Entry entry, SchemaValidationPolicy policy, Collection<LocalizableMessage> errorMessages, Schema schema)Returnstrueif the provided entry is valid according to the specified schema and schema validation policy.static booleanEntries. containsObjectClass(Entry entry, ObjectClass objectClass, Schema schema)Check if the provided entry contains the provided object class.static DnDn. format(String template, Schema schema, Object... attributeValues)Creates a new DN using the provided DN template and unescaped attribute values using the provided schema.static Set<ObjectClass>Entries. getObjectClasses(Entry entry, Schema schema)Returns an unmodifiable set containing the object classes associated with the provided entry.static ObjectClassEntries. getStructuralObjectClass(Entry entry, Schema schema)Returns the structural object class associated with the provided entry, ornullif none was found.AttributeFilterAttributeFilter. includeAttribute(String attributeDescription, Schema schema)Specifies that the named attribute should be included in filtered entries.AttributeFilterAttributeFilter. includeAttribute(String attributeDescription, Schema schema, boolean includeAttributesFromSuperiors)Specifies that the named attribute should be included in filtered entries.MatcherFilter. matcher(Schema schema)Returns aMatcherwhich can be used to compare thisFilteragainst entries using the providedSchema.DecodeOptionsDecodeOptions. setSchema(Schema schema)Sets theSchemawhich will be used for decoding distinguished names, attribute descriptions, and other objects which require a schema in order to be decoded.AttributeParserAttributeParser. usingSchema(Schema schema)Sets theSchemawhich will be used when parsing schema sensitive values such as DNs and attribute descriptions.static AttributeDescriptionAttributeDescription. valueOf(String attributeDescription, Schema schema)Parses the provided LDAP string representation of an attribute description using the provided schema.static AvaAva. valueOf(String ava, Schema schema)Parses the provided LDAP string representation of an AVA using the provided schema.static DnDn. valueOf(String dn, Schema schema)Parses the provided LDAP string representation of a DN using the provided schema.static LdapUrlLdapUrl. valueOf(String url, Schema schema)Parses the provided LDAP string representation of an LDAP URL using the provided schema.static RdnRdn. valueOf(String rdn, Schema schema)Parses the provided LDAP string representation of a RDN using the provided schema.Constructors in org.forgerock.opendj.ldap with parameters of type Schema Constructor Description AttributeFilter(Collection<String> attributeDescriptions, Schema schema)Creates a new attribute filter which will include the attributes identified by the provided search request attribute list.MemoryBackend(Schema schema)Creates a new empty memory backend which will use the provided schema.MemoryBackend(Schema schema, EntryReader reader)Creates a new memory backend which will use the provided schema, and will contain the entries read from the provided entry reader. -
Uses of Schema in org.forgerock.opendj.ldap.controls
Methods in org.forgerock.opendj.ldap.controls with parameters of type Schema Modifier and Type Method Description AttributeFilterMatchedValuesRequestControl. keepMatchedValues(AttributeFilter filter, Schema schema)Register a mapping function in the providedAttributeFilterwhich will only retain attribute values matching at least one filter defined in this control.Function<Attribute,Attribute>MatchedValuesRequestControl. keepMatchedValues(Schema schema)Returns a mapping function which, given an attribute, returns a new attribute containing only the values matching the filters defined in this control, or an empty attribute if none of the values match. -
Uses of Schema in org.forgerock.opendj.ldap.schema
Methods in org.forgerock.opendj.ldap.schema that return Schema Modifier and Type Method Description SchemaSchemaValidationPolicy. adaptSchemaForValidation(Schema schema)Returns a strict view of the provided schema if the this policy is configured to check attributes and object class, or a non-strict view of the schema if not.SchemaSchema. asNonStrictSchema()Returns a non-strict view of this schema.SchemaSchema. asStrictSchema()Returns a strict view of this schema.static SchemaSchema. getCoreSchema()Returns the core schema.static SchemaSchema. getDefaultSchema()Returns the default schema which should be used by this application.static SchemaSchema. getEmptySchema()Returns the empty schema.static SchemaCoreSchema. getInstance()Returns a reference to the singleton core schema.static SchemaSchema. readSchema(Connection connection, Dn name)Reads the schema contained in the named subschema sub-entry.static SchemaSchema. readSchemaForEntry(Connection connection, Dn name)Reads the schema contained in the subschema sub-entry which applies to the named entry.SchemaSchemaBuilder. toSchema()Returns a strictSchemacontaining all of the schema elements contained in this schema builder as well as the same set of schema compatibility options.static SchemaSchema. valueOf(Entry entry)Parses the provided entry as a subschema subentry.Methods in org.forgerock.opendj.ldap.schema that return types with arguments of type Schema Modifier and Type Method Description static Single<Schema>Schema. readSchema(LdapClientSocket socket, Dn name)Reads the schema contained in the named subschema sub-entry.static LdapPromise<Schema>Schema. readSchemaAsync(Connection connection, Dn name)Asynchronously reads the schema contained in the named subschema sub-entry.static Single<Schema>Schema. readSchemaForEntry(LdapClientSocket socket, Dn name)Reads the schema contained in the subschema sub-entry which applies to the named entry.static LdapPromise<Schema>Schema. readSchemaForEntryAsync(Connection connection, Dn name)Asynchronously reads the schema contained in the subschema sub-entry which applies to the named entry.Methods in org.forgerock.opendj.ldap.schema with parameters of type Schema Modifier and Type Method Description SchemaSchemaValidationPolicy. adaptSchemaForValidation(Schema schema)Returns a strict view of the provided schema if the this policy is configured to check attributes and object class, or a non-strict view of the schema if not.SchemaBuilderSchemaBuilder. addSchema(Schema schema, boolean overwrite)Adds all of the schema elements in the provided schema to this schema builder.Collection<? extends Indexer>AbstractOrderingMatchingRuleImpl. createIndexers(Schema schema, IndexingOptions options)Collection<? extends Indexer>MatchingRuleImpl. createIndexers(Schema schema, IndexingOptions options)Returns the indexers for this matching rule.AssertionAbstractOrderingMatchingRuleImpl. getAssertion(Schema schema, ByteSequence value)default AssertionMatchingRuleImpl. getAssertion(Schema schema, ByteSequence assertionValue)Retrieves the normalized form of the provided assertion value, which is best suited for efficiently performing less than matching operations on that value.AssertionAbstractOrderingMatchingRuleImpl. getGreaterOrEqualAssertion(Schema schema, ByteSequence value)default AssertionMatchingRuleImpl. getGreaterOrEqualAssertion(Schema schema, ByteSequence value)Retrieves the normalized form of the provided assertion value, which is best suited for efficiently performing greater than or equal matching operations on that value.AssertionAbstractOrderingMatchingRuleImpl. getLessOrEqualAssertion(Schema schema, ByteSequence value)default AssertionMatchingRuleImpl. getLessOrEqualAssertion(Schema schema, ByteSequence value)Retrieves the normalized form of the provided assertion value, which is best suited for efficiently performing less than or equal matching operations on that value.default AssertionMatchingRuleImpl. getSubstringAssertion(Schema schema, ByteSequence subInitial, List<? extends ByteSequence> subAnyElements, ByteSequence subFinal)Retrieves the normalized form of the provided assertion substring values, which is best suited for efficiently performing matching operations on that value.ByteStringMatchingRuleImpl. normalizeAttributeValue(Schema schema, ByteSequence value)Retrieves the normalized form of the provided attribute value, which is best suited for efficiently performing matching operations on that value.static voidSchema. setDefaultSchema(Schema schema)Sets the default schema which should be used by this application.booleanSyntaxImpl. valueIsAcceptable(Schema schema, ByteSequence value, LocalizableMessageBuilder invalidReason)Indicates whether the provided value is acceptable for use in an attribute with this syntax.Constructors in org.forgerock.opendj.ldap.schema with parameters of type Schema Constructor Description SchemaBuilder(Schema schema)Creates a new schema builder containing all of the schema elements from the provided schema and its compatibility options. -
Uses of Schema in org.forgerock.opendj.ldif
Methods in org.forgerock.opendj.ldif with parameters of type Schema Modifier and Type Method Description static EntryReaderLdif. search(EntryReader input, SearchRequest search, Schema schema)Returns a filtered view ofinputcontaining only those entries which match the search base DN, scope, and filtered defined insearch.EntryGeneratorEntryGenerator. setSchema(Schema schema)Sets the schema which should be when generating entries.LdifChangeRecordReaderLdifChangeRecordReader. setSchema(Schema schema)Sets the schema which should be used for decoding change records that are read from LDIF.LdifEntryReaderLdifEntryReader. setSchema(Schema schema)Sets the schema which should be used for decoding entries that are read from LDIF. -
Uses of Schema in org.forgerock.opendj.rest2ldap
Fields in org.forgerock.opendj.rest2ldap declared as Schema Modifier and Type Field Description protected SchemaRest2LdapHttpApplication. schemaSchema used to perform DN validations.Constructors in org.forgerock.opendj.rest2ldap with parameters of type Schema Constructor Description Rest2LdapHttpApplication(File configDirectory, Schema schema)Creates a new Rest2LDAP HTTP application using the provided configuration directory. -
Uses of Schema in org.forgerock.opendj.rest2ldap.authz
Methods in org.forgerock.opendj.rest2ldap.authz with parameters of type Schema Modifier and Type Method Description static AuthenticationStrategyAuthenticationStrategies. newSaslPlainStrategy(LdapClient ldapClient, Schema schema, String authcIdTemplate)Creates anAuthenticationStrategyperforming authentication against an LDAP server using a plain SASL bind request.static AuthenticationStrategyAuthenticationStrategies. newSaslScramStrategy(LdapClient ldapClient, ScramMechanism scramMechanism, Schema schema, String authcIdTemplate)Creates anAuthenticationStrategyperforming authentication against an LDAP server using a SCRAM SASL bind request.static AuthenticationStrategyAuthenticationStrategies. newSimpleBindStrategy(LdapClient ldapClient, String bindDNTemplate, Schema schema)Creates anAuthenticationStrategyperforming simple BIND authentication against an LDAP server. -
Uses of Schema in org.forgerock.opendj.rest2ldap.schema
Methods in org.forgerock.opendj.rest2ldap.schema that return Schema Modifier and Type Method Description static SchemaJsonSchema. getInstance()Returns aSchemacontaining thecore schemaand JSON syntaxes and matching rules.Methods in org.forgerock.opendj.rest2ldap.schema with parameters of type Schema Modifier and Type Method Description static Pair<Dn,Object>JsonSchema. byteStringToNameAndJson(Schema schema, ByteSequence value)Decodes the provided value as a Name and JSON value.static DnJsonSchema. byteStringToNameWithoutJson(Schema schema, ByteSequence value)Decodes the provided value as a Name and JSON value but without decoding the JSON value. -
Uses of Schema in org.opends.server.api
Methods in org.opends.server.api with parameters of type Schema Modifier and Type Method Description EntryMonitorProvider. getMonitorEntry(Schema schema)Generates and returns a monitor entry based on the contents of this monitor provider.Constructors in org.opends.server.api with parameters of type Schema Constructor Description MonitorData(Schema schema)Builds a MonitorData object by using the provided schema. -
Uses of Schema in org.opends.server.authorization.dseecompat
Methods in org.opends.server.authorization.dseecompat with parameters of type Schema Modifier and Type Method Description static voidAciEffectiveRights. addRightsToEntry(AciHandler handler, Set<String> searchAttributes, org.opends.server.authorization.dseecompat.AciLDAPOperationContainer container, Entry e, boolean skipCheck, Schema schema)Attempts to add the geteffectiverights asked for in the search to the entry being returned.static KeywordBindRuleUserAttr. decode(String expression, org.opends.server.authorization.dseecompat.EnumBindRuleType type, Schema schema)Decode an string containing the userattr bind rule expression.booleanPatternDN. matchesDN(Dn dn, Schema schema)Determine whether a given DN matches this pattern.booleanTarget. matchesPattern(Dn dn, Schema schema)This method tries to match a pattern against a DN. -
Uses of Schema in org.opends.server.config
Methods in org.opends.server.config with parameters of type Schema Modifier and Type Method Description voidConfigurationHandler. reinitializeWithFullSchema(Schema schema)Re-initializes the configuration handler with a fully initialized schema. -
Uses of Schema in org.opends.server.core
Methods in org.opends.server.core that return Schema Modifier and Type Method Description SchemaDirectoryServer. getSchema()SchemaServerContext. getSchema()Returns the schema of the server. -
Uses of Schema in org.opends.server.replication.plugin
Methods in org.opends.server.replication.plugin with parameters of type Schema Modifier and Type Method Description Collection<? extends Indexer>HistoricalCsnOrderingMatchingRuleImpl. createIndexers(Schema schema, IndexingOptions options)Collection<? extends Indexer>HistoricalCsnRangeMatchingRuleImpl. createIndexers(Schema schema, IndexingOptions options)AssertionHistoricalCsnOrderingMatchingRuleImpl. getAssertion(Schema schema, ByteSequence value)AssertionHistoricalCsnRangeMatchingRuleImpl. getAssertion(Schema schema, ByteSequence assertionValue)AssertionHistoricalCsnOrderingMatchingRuleImpl. getGreaterOrEqualAssertion(Schema schema, ByteSequence value)AssertionHistoricalCsnOrderingMatchingRuleImpl. getLessOrEqualAssertion(Schema schema, ByteSequence value)ByteStringHistoricalCsnOrderingMatchingRuleImpl. normalizeAttributeValue(Schema schema, ByteSequence value)ByteStringHistoricalCsnRangeMatchingRuleImpl. normalizeAttributeValue(Schema schema, ByteSequence value) -
Uses of Schema in org.opends.server.schema
Methods in org.opends.server.schema that return Schema Modifier and Type Method Description SchemaSchemaHandler. getSchema()Returns the schema.Methods in org.opends.server.schema with parameters of type Schema Modifier and Type Method Description voidSchemaHandler. loadSchemaFileIntoSchemaBuilder(Path schemaFile, SchemaBuilder schemaBuilder, Schema readSchema)Loads the contents of the provided schema file into the provided schema builder.List<Modification>SchemaHandler. loadSchemaFileIntoSchemaBuilderAndReturnModifications(Path schemaFile, SchemaBuilder schemaBuilder, Schema readSchema)Loads the contents of the provided schema file into the provided schema builder and returns the list of modifications.voidSchemaHandler. updateSchema(Schema schema)Replaces the schema with the provided schema.voidSchemaHandler. updateSchemaAndConcatenatedSchemaFile(Schema newSchema)Replaces the schema with the provided schema and update the concatenated schema file.voidSchemaHandler. updateSchemaAndSchemaFiles(Schema newSchema, Map<String,Attribute> newExtraAttributes, SortedSet<String> modifiedSchemaFileNames, AlertGenerator alertGenerator)Replaces the schema with the provided schema and updates the provided set of schema files. -
Uses of Schema in org.opends.server.tasks
Constructors in org.opends.server.tasks with parameters of type Schema Constructor Description ImportExportParams(Collection<String> includeBranchStrings, Collection<String> excludeBranchStrings, Collection<String> includeAttributeStrings, Collection<String> excludeAttributeStrings, Collection<String> includeFilterStrings, Collection<String> excludeFilterStrings, Schema schema)Constructor. -
Uses of Schema in org.opends.server.types
Methods in org.opends.server.types with parameters of type Schema Modifier and Type Method Description booleanSubtreeSpecification. isWithinScope(Entry entry, Schema schema)Determine if an entry is within the scope of the subtree specification.booleanSubtreeSpecification.FilterRefinement. matches(Entry entry, Schema schema) -
Uses of Schema in org.opends.server.util
Methods in org.opends.server.util with parameters of type Schema Modifier and Type Method Description static EntryStaticUtils. createEntry(Dn dn, Schema schema)Creates a new, blank entry with the given DN.
-