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.ldap.spi |
Interfaces and classes for service providers.
|
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 contains
Filter to authenticate and authorize LDAP connections. |
org.opends.guitools.controlpanel.datamodel |
Defines the data structures that are used in the control panel.
|
org.opends.guitools.controlpanel.task |
Defines the main classes that are you used to perform the administrative operations: start the server, modify an
entry, delete a base DN, etc.
|
org.opends.guitools.controlpanel.ui |
Contains the panels and dialogs displayed in the Control Panel.
|
org.opends.guitools.controlpanel.ui.components |
Contains some components used in the Control Panel: the MainActionsPane, the ActionButton, etc.
|
org.opends.guitools.controlpanel.ui.renderer |
Contains some of the list, combo box and table renderers and editors used in the Control Panel: index renderers,
schema renderers, LDAP entry renderers...
|
org.opends.guitools.controlpanel.util |
Contains some utilities used in the Control Panel.
|
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.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.
|
Modifier and Type | Method and Description |
---|---|
Schema |
SchemaResolver.resolveSchema(String dn)
Finds the appropriate schema for use with the provided distinguished
name.
|
Modifier and Type | Method and Description |
---|---|
static AttributeDescription |
Functions.byteStringToAttributeDescription(ByteString value,
Schema schema)
Parses a
ByteString as an AttributeDescription using the provided schema. |
static Function<ByteString,Dn,LocalizedIllegalArgumentException> |
Functions.byteStringToDn(Schema schema)
Returns a function which parses
DN s using the provided schema. |
Comparator<Entry> |
SortKey.comparator(Schema schema)
Returns a
Comparator which can be used to compare entries using
this sort key. |
static Comparator<Entry> |
SortKey.comparator(Schema schema,
Collection<SortKey> keys)
Returns a
Comparator which can be used to compare entries using
the provided list of sort keys. |
static Comparator<Entry> |
SortKey.comparator(Schema schema,
SortKey... keys)
Returns a
Comparator which can be used to compare entries using
the provided list of sort keys. |
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.containsObjectClass(Entry entry,
Schema schema,
ObjectClass objectClass)
Check if the provided entry contains the provided object class.
|
static Dn |
Dn.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 ObjectClass |
Entries.getStructuralObjectClass(Entry entry,
Schema schema)
Returns the structural object class associated with the provided entry,
or
null if none was found. |
AttributeFilter |
AttributeFilter.includeAttribute(String attributeDescription,
Schema schema)
Specifies that the named attribute should be included in filtered
entries.
|
AttributeFilter |
AttributeFilter.includeAttribute(String attributeDescription,
Schema schema,
boolean includeAttributesFromSuperiors)
Specifies that the named attribute should be included in filtered
entries.
|
Matcher |
Filter.matcher(Schema schema)
Returns a
Matcher which can be used to compare this
Filter against entries using the provided Schema . |
DecodeOptions |
DecodeOptions.setSchema(Schema schema)
Sets the
Schema which will be used for decoding distinguished
names, attribute descriptions, and other objects which require a schema
in order to be decoded. |
AttributeParser |
AttributeParser.usingSchema(Schema schema)
Sets the
Schema which will be used when parsing schema sensitive
values such as DNs and attribute descriptions. |
static Rdn |
Rdn.valueOf(String rdn,
Schema schema)
Parses the provided LDAP string representation of a RDN using the
provided schema.
|
static LdapUrl |
LdapUrl.valueOf(String url,
Schema schema)
Parses the provided LDAP string representation of an LDAP URL using the
provided schema.
|
static Dn |
Dn.valueOf(String dn,
Schema schema)
Parses the provided LDAP string representation of a DN using the provided schema.
|
static Ava |
Ava.valueOf(String ava,
Schema schema)
Parses the provided LDAP string representation of an AVA using the
provided schema.
|
static AttributeDescription |
AttributeDescription.valueOf(String attributeDescription,
Schema schema)
Parses the provided LDAP string representation of an attribute
description using the provided schema.
|
Constructor and 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.
|
Modifier and Type | Method and Description |
---|---|
Schema |
SchemaValidationPolicy.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.
|
Schema |
Schema.asNonStrictSchema()
Returns a non-strict view of this schema.
|
Schema |
Schema.asStrictSchema()
Returns a strict view of this schema.
|
static Schema |
Schema.getCoreSchema()
Returns the core schema.
|
static Schema |
Schema.getDefaultSchema()
Returns the default schema which should be used by this application.
|
static Schema |
Schema.getEmptySchema()
Returns the empty schema.
|
static Schema |
CoreSchema.getInstance()
Returns a reference to the singleton core schema.
|
static Schema |
Schema.readSchema(Connection connection,
Dn name)
Reads the schema contained in the named subschema sub-entry.
|
static Schema |
Schema.readSchemaForEntry(Connection connection,
Dn name)
Reads the schema contained in the subschema sub-entry which applies to
the named entry.
|
Schema |
SchemaBuilder.toSchema()
Returns a strict
Schema containing all of the schema elements
contained in this schema builder as well as the same set of schema
compatibility options. |
static Schema |
Schema.valueOf(Entry entry)
Parses the provided entry as a subschema subentry.
|
Modifier and Type | Method and Description |
---|---|
static LdapPromise<Schema> |
Schema.readSchemaAsync(Connection connection,
Dn name)
Asynchronously reads the schema contained in the named subschema
sub-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.
|
Modifier and Type | Method and Description |
---|---|
Schema |
SchemaValidationPolicy.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.
|
SchemaBuilder |
SchemaBuilder.addSchema(Schema schema,
boolean overwrite)
Adds all of the schema elements in the provided schema to this schema
builder.
|
Assertion |
MatchingRuleImpl.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.
|
Assertion |
MatchingRuleImpl.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.
|
Assertion |
MatchingRuleImpl.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.
|
Assertion |
MatchingRuleImpl.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.
|
ByteString |
MatchingRuleImpl.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 void |
Schema.setDefaultSchema(Schema schema)
Sets the default schema which should be used by this application.
|
boolean |
SyntaxImpl.valueIsAcceptable(Schema schema,
ByteSequence value,
LocalizableMessageBuilder invalidReason)
Indicates whether the provided value is acceptable for use in an
attribute with this syntax.
|
Constructor and Description |
---|
SchemaBuilder(Schema schema)
Creates a new schema builder containing all of the schema elements from
the provided schema and its compatibility options.
|
Modifier and Type | Method and Description |
---|---|
void |
Indexer.createKeys(Schema schema,
ByteSequence value,
Collection<ByteString> keys)
Generates the set of index keys for an attribute.
|
Modifier and Type | Method and Description |
---|---|
static EntryReader |
Ldif.search(EntryReader input,
SearchRequest search,
Schema schema)
Returns a filtered view of
input containing only those entries
which match the search base DN, scope, and filtered defined in
search . |
LdifEntryReader |
LdifEntryReader.setSchema(Schema schema)
Sets the schema which should be used for decoding entries that are read
from LDIF.
|
LdifChangeRecordReader |
LdifChangeRecordReader.setSchema(Schema schema)
Sets the schema which should be used for decoding change records that are
read from LDIF.
|
EntryGenerator |
EntryGenerator.setSchema(Schema schema)
Sets the schema which should be when generating entries.
|
Modifier and Type | Field and Description |
---|---|
protected Schema |
Rest2LdapHttpApplication.schema
Schema used to perform DN validations.
|
Constructor and Description |
---|
Rest2LdapHttpApplication(File configDirectory,
Schema schema)
Creates a new Rest2LDAP HTTP application using the provided configuration directory.
|
Modifier and Type | Method and Description |
---|---|
static AuthenticationStrategy |
AuthenticationStrategies.newSaslPlainStrategy(ConnectionFactory connectionFactory,
Schema schema,
String authcIdTemplate)
Creates an
AuthenticationStrategy performing authentication against an LDAP server using a plain SASL
bind request. |
static AuthenticationStrategy |
AuthenticationStrategies.newSimpleBindStrategy(ConnectionFactory connectionFactory,
String bindDNTemplate,
Schema schema)
Creates an
AuthenticationStrategy performing simple BIND authentication against an LDAP server. |
Modifier and Type | Method and Description |
---|---|
Schema |
ServerDescriptor.getSchema()
Returns the schema of the server.
|
Modifier and Type | Method and Description |
---|---|
static boolean |
ServerDescriptor.areSchemasEqual(Schema schema1,
Schema schema2)
Method used to compare schemas.
|
void |
ServerDescriptor.setSchema(Schema schema)
Sets the schema of the server.
|
Modifier and Type | Method and Description |
---|---|
static LinkedHashSet<AttributeType> |
DeleteSchemaElementsTask.getOrderedAttributesToDelete(Collection<AttributeType> attrsToDelete,
Schema schema)
Returns an ordered set of the attributes that must be deleted.
|
static LinkedHashSet<ObjectClass> |
DeleteSchemaElementsTask.getOrderedObjectClassesToDelete(Collection<ObjectClass> ocsToDelete,
Schema schema)
Returns an ordered list of the object classes that must be deleted.
|
static LinkedHashSet<ObjectClass> |
DeleteSchemaElementsTask.getOrderedObjectClassesToDeleteFromAttrs(Collection<AttributeType> attrsToDelete,
Schema schema)
Returns an ordered list of the object classes that must be deleted when deleting a list of attributes that must
be deleted.
|
Modifier and Type | Method and Description |
---|---|
static boolean |
ViewEntryPanel.isEditable(AttributeDescription attrDesc,
Schema schema)
Returns whether the provided attribute name is an editable attribute.
|
void |
SelectObjectClassesPanel.setSchema(Schema schema)
Sets the schema to be used by this panel.
|
void |
MatchingRulePanel.update(MatchingRule matchingRule,
Schema schema)
Updates the contents of the panel with the provided matching rule.
|
void |
StandardObjectClassPanel.update(ObjectClass oc,
Schema schema)
Updates the contents of the panel with the provided object class.
|
void |
CustomObjectClassPanel.update(ObjectClass oc,
Schema schema)
Updates the contents of the panel with the provided object class.
|
void |
AttributeSyntaxPanel.update(Syntax syntax,
Schema schema)
Updates the contents of the panel.
|
void |
SchemaBrowserRightPanel.updateAttributeSyntax(Syntax syntax,
Schema schema)
Updates the contents of the panel with the provided attribute syntax.
|
void |
SchemaBrowserRightPanel.updateConfigurationAttribute(AttributeType attr,
Schema schema)
Updates the contents of the panel with the provided configuration attribute.
|
void |
SchemaBrowserRightPanel.updateConfigurationObjectClass(ObjectClass oc,
Schema schema)
Updates the contents of the panel with the provided configuration object class.
|
void |
SchemaBrowserRightPanel.updateCustomAttribute(AttributeType attr,
Schema schema)
Updates the contents of the panel with the provided custom attribute.
|
void |
SchemaBrowserRightPanel.updateCustomObjectClass(ObjectClass oc,
Schema schema)
Updates the contents of the panel with the provided custom object class.
|
void |
SchemaBrowserRightPanel.updateMatchingRule(MatchingRule matchingRule,
Schema schema)
Updates the contents of the panel with the provided matching rule.
|
void |
SchemaBrowserRightPanel.updateStandardAttribute(AttributeType attr,
Schema schema)
Updates the contents of the panel with the provided standard attribute.
|
void |
SchemaBrowserRightPanel.updateStandardObjectClass(ObjectClass oc,
Schema schema)
Updates the contents of the panel with the provided standard object class.
|
Modifier and Type | Method and Description |
---|---|
void |
SuperiorObjectClassesEditor.setSchema(Schema schema)
Sets the schema to be used by this panel.
|
Modifier and Type | Method and Description |
---|---|
Schema |
LDAPEntryTableCellRenderer.getSchema()
Returns the schema.
|
Modifier and Type | Method and Description |
---|---|
void |
LDAPEntryTableCellRenderer.setSchema(Schema schema)
Sets the schema.
|
Modifier and Type | Field and Description |
---|---|
protected Schema |
ConfigReader.schema
The schema used by the server.
|
Modifier and Type | Method and Description |
---|---|
protected Schema |
SchemaLoader.getBaseSchema()
Returns a basic version of the schema.
|
Schema |
SchemaLoader.getSchema()
Returns the schema that was read.
|
Schema |
RemoteSchemaLoader.getSchema()
Returns the schema that was read.
|
Schema |
ConfigReader.getSchema()
Returns the schema of the server.
|
Schema |
SchemaLoader.readSchema()
Reads and returns the schema.
|
protected Schema |
ConfigReader.readSchema()
Reads the schema from the files.
|
Schema |
RemoteSchemaLoader.readSchema(ConnectionWrapper connWrapper)
Reads and returns the schema.
|
Modifier and Type | Method and Description |
---|---|
static boolean |
Utilities.hasBinarySyntax(String attrName,
Schema schema)
Returns whether the provided attribute has binary syntax.
|
static boolean |
Utilities.hasImageSyntax(String attrName,
Schema schema)
Returns whether the provided attribute has image syntax.
|
static boolean |
Utilities.hasPasswordSyntax(String attrName,
Schema schema)
Returns whether the provided attribute has password syntax.
|
static boolean |
Utilities.mustObfuscate(String attrName,
Schema schema)
Returns whether an attribute value must be obfuscated because it contains sensitive information (like passwords).
|
Constructor and Description |
---|
MonitorData(Schema schema)
Builds a MonitorData object by using the provided schema.
|
Modifier and Type | Method and Description |
---|---|
boolean |
PatternDN.matchesDN(Dn dn,
Schema schema)
Determine whether a given DN matches this pattern.
|
Modifier and Type | Method and Description |
---|---|
void |
ConfigurationHandler.reinitializeWithFullSchema(Schema schema)
Re-initializes the configuration handler with a fully initialized schema.
|
Modifier and Type | Method and Description |
---|---|
Schema |
ServerContext.getSchema()
Returns the schema of the server.
|
Modifier and Type | Method and Description |
---|---|
Assertion |
HistoricalCsnRangeMatchingRuleImpl.getAssertion(Schema schema,
ByteSequence assertionValue) |
Assertion |
HistoricalCsnOrderingMatchingRuleImpl.getAssertion(Schema schema,
ByteSequence value) |
Assertion |
HistoricalCsnRangeMatchingRuleImpl.getGreaterOrEqualAssertion(Schema schema,
ByteSequence value) |
Assertion |
HistoricalCsnOrderingMatchingRuleImpl.getGreaterOrEqualAssertion(Schema schema,
ByteSequence value) |
Assertion |
HistoricalCsnRangeMatchingRuleImpl.getLessOrEqualAssertion(Schema schema,
ByteSequence value) |
Assertion |
HistoricalCsnOrderingMatchingRuleImpl.getLessOrEqualAssertion(Schema schema,
ByteSequence value) |
Assertion |
HistoricalCsnRangeMatchingRuleImpl.getSubstringAssertion(Schema schema,
ByteSequence subInitial,
List<? extends ByteSequence> subAnyElements,
ByteSequence subFinal) |
Assertion |
HistoricalCsnOrderingMatchingRuleImpl.getSubstringAssertion(Schema schema,
ByteSequence subInitial,
List<? extends ByteSequence> subAnyElements,
ByteSequence subFinal) |
ByteString |
HistoricalCsnRangeMatchingRuleImpl.normalizeAttributeValue(Schema schema,
ByteSequence value) |
ByteString |
HistoricalCsnOrderingMatchingRuleImpl.normalizeAttributeValue(Schema schema,
ByteSequence value) |
Modifier and Type | Method and Description |
---|---|
Schema |
SchemaHandler.getSchema()
Returns the schema.
|
Modifier and Type | Method and Description |
---|---|
void |
SchemaHandler.loadSchemaFileIntoSchemaBuilder(File schemaFile,
SchemaBuilder schemaBuilder,
Schema readSchema)
Loads the contents of the provided schema file into the provided schema builder.
|
List<Modification> |
SchemaHandler.loadSchemaFileIntoSchemaBuilderAndReturnModifications(File schemaFile,
SchemaBuilder schemaBuilder,
Schema readSchema)
Loads the contents of the provided schema file into the provided schema builder and returns the list of
modifications.
|
void |
SchemaHandler.updateSchema(Schema schema)
Replaces the schema with the provided schema.
|
void |
SchemaHandler.updateSchemaAndConcatenatedSchemaFile(Schema newSchema)
Replaces the schema with the provided schema and update the concatenated schema file.
|
void |
SchemaHandler.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.
|
Modifier and Type | Method and Description |
---|---|
static Entry |
StaticUtils.createSdkEntry(Dn dn,
Schema schema)
Creates a new, blank entry with the given DN.
|
Copyright 2010-2020 ForgeRock AS.