Package | Description |
---|---|
org.forgerock.opendj.adapter.server3x |
Classes for interacting with an embedded OpenDJ 2.x instance using the OpenDJ LDAP SDK.
|
org.opends.server.api |
Contains a number of API declarations for use throughout the
Directory Server.
|
org.opends.server.core |
Contains various classes that comprise the core of the Directory Server codebase.
|
org.opends.server.extensions |
Contains various implementations of Directory Server APIs that are not appropriate for other packages.
|
org.opends.server.protocols.ldap |
Contains the implementation for the Directory Server connection handler that is responsible for interacting with
clients using LDAPv3.
|
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.replication.protocol |
This package contains the code used by the replication server and by the code running on the Directory Server side to
exchange their information.
|
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.types.operation |
Contains a number of interfaces that are implemented by the various types of Directory Server operations.
|
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 |
---|---|
static Attribute |
Converters.toAttribute(org.forgerock.opendj.ldap.Attribute attribute)
Converts from OpenDJ LDAP SDK
Attribute to OpenDJ server Attribute . |
Modifier and Type | Method and Description |
---|---|
static List<Attribute> |
Converters.toAttributes(Iterable<org.forgerock.opendj.ldap.Attribute> listOfAttributes)
|
Modifier and Type | Method and Description |
---|---|
static org.forgerock.opendj.ldap.Attribute |
Converters.from(Attribute attribute)
Converts from OpenDJ server
Attribute to OpenDJ LDAP SDK Attribute . |
static org.forgerock.opendj.ldap.Attribute |
Converters.partiallyWrap(Attribute attribute)
Converts from OpenDJ server
Attribute to OpenDJ LDAP SDK Attribute . |
Modifier and Type | Method and Description |
---|---|
static List<org.forgerock.opendj.ldap.Attribute> |
Converters.from(Iterable<Attribute> listOfAttributes)
|
Modifier and Type | Method and Description |
---|---|
Attribute |
CompressedSchema.decodeAttribute(org.forgerock.opendj.ldap.ByteSequenceReader reader)
Decodes the contents of the provided array as an attribute at the current position.
|
abstract Attribute |
VirtualAttributeProvider.getValues(Entry entry,
VirtualAttributeRule rule)
Generates an unmodifiable attribute with the values for the provided entry.
|
Modifier and Type | Method and Description |
---|---|
void |
CompressedSchema.encodeAttribute(org.forgerock.opendj.ldap.ByteStringBuilder builder,
Attribute attribute)
Encodes the information in the provided attribute to a byte array.
|
Modifier and Type | Method and Description |
---|---|
Map<org.forgerock.opendj.ldap.schema.AttributeType,List<Attribute>> |
AddOperation.getOperationalAttributes()
Retrieves the set of processed operational attributes for the entry to add.
|
Map<org.forgerock.opendj.ldap.schema.AttributeType,List<Attribute>> |
AddOperationBasis.getOperationalAttributes() |
Map<org.forgerock.opendj.ldap.schema.AttributeType,List<Attribute>> |
AddOperation.getUserAttributes()
Retrieves the set of processed user attributes for the entry to add.
|
Map<org.forgerock.opendj.ldap.schema.AttributeType,List<Attribute>> |
AddOperationBasis.getUserAttributes() |
Modifier and Type | Method and Description |
---|---|
void |
AddOperation.setAttribute(org.forgerock.opendj.ldap.schema.AttributeType attributeType,
List<Attribute> attributeList)
Sets the specified attribute in the entry to add, overwriting any existing attribute of the specified type if
necessary.
|
void |
AddOperationBasis.setAttribute(org.forgerock.opendj.ldap.schema.AttributeType attributeType,
List<Attribute> attributeList) |
Modifier and Type | Method and Description |
---|---|
Attribute |
EntityTagVirtualAttributeProvider.getValues(Entry entry,
VirtualAttributeRule rule) |
Attribute |
MemberVirtualAttributeProvider.getValues(Entry entry,
VirtualAttributeRule rule) |
Attribute |
HasSubordinatesVirtualAttributeProvider.getValues(Entry entry,
VirtualAttributeRule rule) |
Attribute |
PasswordPolicySubentryVirtualAttributeProvider.getValues(Entry entry,
VirtualAttributeRule rule) |
Attribute |
PasswordExpirationTimeVirtualAttributeProvider.getValues(Entry entry,
VirtualAttributeRule rule) |
Attribute |
EntryDNVirtualAttributeProvider.getValues(Entry entry,
VirtualAttributeRule rule) |
Attribute |
GoverningStructureRuleVirtualAttributeProvider.getValues(Entry entry,
VirtualAttributeRule rule) |
Attribute |
NumSubordinatesVirtualAttributeProvider.getValues(Entry entry,
VirtualAttributeRule rule) |
Attribute |
EntryUUIDVirtualAttributeProvider.getValues(Entry entry,
VirtualAttributeRule rule) |
Attribute |
IsMemberOfVirtualAttributeProvider.getValues(Entry entry,
VirtualAttributeRule rule) |
Attribute |
SubschemaSubentryVirtualAttributeProvider.getValues(Entry entry,
VirtualAttributeRule rule) |
Attribute |
UserDefinedVirtualAttributeProvider.getValues(Entry entry,
VirtualAttributeRule rule) |
Attribute |
StructuralObjectClassVirtualAttributeProvider.getValues(Entry entry,
VirtualAttributeRule rule) |
Attribute |
CollectiveAttributeSubentriesVirtualAttributeProvider.getValues(Entry entry,
VirtualAttributeRule rule) |
Modifier and Type | Method and Description |
---|---|
Attribute |
LDAPAttribute.toAttribute()
Retrieves a core attribute containing the information for this LDAP attribute.
|
Constructor and Description |
---|
LDAPAttribute(Attribute attribute)
Creates a new LDAP attribute from the provided attribute.
|
Modifier and Type | Method and Description |
---|---|
static boolean |
EntryHistorical.isHistoricalAttribute(Attribute attr)
Check if a given attribute is an attribute used to store historical information.
|
Modifier and Type | Method and Description |
---|---|
List<Attribute> |
AddMsg.getAttributes()
Get the attributes of this add msg.
|
Modifier and Type | Method and Description |
---|---|
void |
LDAPUpdateMsg.setEclIncludes(Collection<Attribute> entryAttrs)
Set a provided list of entry attributes.
|
Modifier and Type | Method and Description |
---|---|
Map<String,Attribute> |
SchemaHandler.getExtraAttributes()
Returns the mapping (oid, attribute) for extra attributes stored in this schema handler.
|
Modifier and Type | Method and Description |
---|---|
void |
SchemaHandler.updateSchemaAndSchemaFiles(org.forgerock.opendj.ldap.schema.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 boolean |
TaskUtils.getBoolean(Iterable<Attribute> attrs,
boolean defaultValue)
Get the single boolean value of an entry attribute that is defined in the schema as a single valued boolean
attribute, and that is not expected to have attribute options.
|
static List<String> |
TaskUtils.getMultiValueString(Iterable<Attribute> attrs)
Get the multiple string values of an entry attribute that is defined in the schema as a multi-valued string
attribute, and that is not expected to have attribute options.
|
static int |
TaskUtils.getSingleValueInteger(Iterable<Attribute> attrs,
int defaultValue)
Get the single integer value of an entry attribute that is defined in the schema as a single valued integer
attribute, and that is not expected to have attribute options.
|
static String |
TaskUtils.getSingleValueString(Iterable<Attribute> attrs)
Get the single string value of an entry attribute that is defined in the schema as a single valued string
attribute, and that is not expected to have attribute options.
|
Modifier and Type | Class and Description |
---|---|
class |
AbstractAttribute
An abstract base class for implementing new types of
Attribute . |
class |
CollectiveVirtualAttribute
This class defines a collective virtual attribute, which is a special kind of attribute whose values do not actually
exist in persistent storage but rather are obtained dynamically from applicable collective attribute subentry.
|
class |
VirtualAttribute
This class defines a virtual attribute, which is a special kind of attribute whose values do not actually exist in
persistent storage but rather are computed or otherwise obtained dynamically.
|
Modifier and Type | Method and Description |
---|---|
static Attribute |
Attributes.create(org.forgerock.opendj.ldap.AttributeDescription attributeDescription,
org.forgerock.opendj.ldap.ByteString value)
Creates a new single-valued attribute with the specified attribute description and value.
|
static Attribute |
Attributes.create(org.forgerock.opendj.ldap.schema.AttributeType attributeType,
org.forgerock.opendj.ldap.ByteString value)
Creates a new single-valued attribute with the specified attribute type and value.
|
static Attribute |
Attributes.create(org.forgerock.opendj.ldap.schema.AttributeType attributeType,
String valueString)
Creates a new single-valued attribute with the specified name and value.
|
static Attribute |
Attributes.create(org.forgerock.opendj.ldap.schema.AttributeType attributeType,
String name,
org.forgerock.opendj.ldap.ByteString value)
Creates a new single-valued attribute with the specified attribute type and value.
|
static Attribute |
Attributes.create(org.forgerock.opendj.ldap.schema.AttributeType attributeType,
String name,
String valueString)
Creates a new single-valued attribute with the attribute type and value.
|
static Attribute |
Attributes.create(String attributeName,
String... valueStrings)
Creates a new multi-valued attribute with the specified attribute name and attribute values.
|
static Attribute |
Attributes.create(String attributeName,
String valueString)
Creates a new single-valued attribute with the specified attribute name and attribute value.
|
static Attribute |
Attributes.empty(Attribute attribute)
Creates a new attribute which has the same attribute type and attribute options as the provided attribute but no
attribute values.
|
static Attribute |
Attributes.empty(org.forgerock.opendj.ldap.schema.AttributeType attributeType)
Creates a new attribute with the provided attribute type and no values.
|
static Attribute |
Attributes.empty(org.forgerock.opendj.ldap.schema.AttributeType attributeType,
String name)
Creates a new attribute with the provided attribute type and no values.
|
static Attribute |
Attributes.empty(String attributeName)
Creates a new attribute with the specified attribute name and no attribute values.
|
Attribute |
Modification.getAttribute()
Retrieves the attribute for this modification.
|
Attribute |
Entry.getAttribute(org.forgerock.opendj.ldap.AttributeDescription attributeDescription)
Retrieves the requested attribute element for the specified attribute type and options or
null if this
entry does not contain an attribute with the specified attribute type and options. |
Attribute |
Entry.getObjectClassAttribute()
Retrieves an attribute holding the objectclass information for this entry.
|
static Attribute |
Attributes.merge(Attribute a1,
Attribute a2)
Creates a new attribute containing all the values from the two provided attributes.
|
static Attribute |
Attributes.merge(Attribute a1,
Attribute a2,
Collection<org.forgerock.opendj.ldap.ByteString> duplicateValues)
Creates a new attribute containing all the values from the two provided attributes and put any duplicate values
into the provided collection.
|
static Attribute |
Attributes.subtract(Attribute a1,
Attribute a2)
Creates a new attribute containing the values from the first attribute which are not in the second attribute.
|
static Attribute |
Attributes.subtract(Attribute a1,
Attribute a2,
Collection<org.forgerock.opendj.ldap.ByteString> missingValues)
Creates a new attribute containing the values from the first attribute which are not in the second attribute.
|
abstract Attribute |
RawAttribute.toAttribute()
Retrieves a core attribute containing the information for this raw attribute.
|
Attribute |
AttributeBuilder.toAttribute()
Returns an attribute representing the content of this attribute builder.
|
Modifier and Type | Method and Description |
---|---|
static List<Attribute> |
Attributes.createAsList(org.forgerock.opendj.ldap.schema.AttributeType attributeType,
org.forgerock.opendj.ldap.ByteString value)
Creates a new List with a single-valued attribute with the specified attribute type and value.
|
static List<Attribute> |
Attributes.createAsList(org.forgerock.opendj.ldap.schema.AttributeType attributeType,
String valueString)
Creates a new List with a single-valued attribute with the specified name and value.
|
Iterable<Attribute> |
Entry.getAllAttributes()
Returns an
Iterable containing all of the attributes in this entry, excluding the objectClass attribute. |
Iterable<Attribute> |
Entry.getAllAttributes(org.forgerock.opendj.ldap.AttributeDescription attributeDescription)
Retrieves the requested attribute element(s) for the specified attribute description.
|
List<Attribute> |
Entry.getAllAttributes(org.forgerock.opendj.ldap.schema.AttributeType attributeType)
Retrieves the requested attribute element(s) for the specified attribute type.
|
List<Attribute> |
Entry.getAllAttributes(org.forgerock.opendj.ldap.schema.AttributeType attributeType,
boolean includeSubordinates)
Retrieves the requested attribute element(s) for the specified attribute type.
|
Iterable<Attribute> |
Entry.getAllAttributes(String nameOrOID)
Retrieves the requested attribute element(s) for the attribute with the specified name or OID.
|
List<Attribute> |
Entry.getAttribute(org.forgerock.opendj.ldap.schema.AttributeType attributeType)
Deprecated.
|
List<Attribute> |
Entry.getAttribute(org.forgerock.opendj.ldap.schema.AttributeType attributeType,
boolean includeSubordinates)
Deprecated.
|
List<Attribute> |
Entry.getAttribute(String nameOrOID)
Deprecated.
|
List<Attribute> |
Entry.getAttributes()
Deprecated.
|
List<Attribute> |
SubEntry.getCollectiveAttributes()
Getter for collective attributes contained within this subentry.
|
List<Attribute> |
Entry.getOperationalAttribute(org.forgerock.opendj.ldap.AttributeDescription attributeDescription)
Retrieves the requested operational attribute element(s) for the specified attribute type.
|
List<Attribute> |
Entry.getOperationalAttribute(org.forgerock.opendj.ldap.schema.AttributeType attributeType)
Retrieves the requested operational attribute element(s) for the specified attribute type.
|
Map<org.forgerock.opendj.ldap.schema.AttributeType,List<Attribute>> |
Entry.getOperationalAttributes()
Retrieves the entire set of operational attributes for this entry.
|
List<Attribute> |
Entry.getUserAttribute(org.forgerock.opendj.ldap.schema.AttributeType attributeType)
Retrieves the requested user attribute element(s) for the specified attribute type.
|
Map<org.forgerock.opendj.ldap.schema.AttributeType,List<Attribute>> |
Entry.getUserAttributes()
Retrieves the entire set of user (i.e., non-operational) attributes for this entry.
|
List<Attribute> |
AttributeBuilder.toAttributeList()
Returns a List with a single attribute representing the content of this attribute builder.
|
Modifier and Type | Method and Description |
---|---|
boolean |
AttributeBuilder.addAll(Attribute attribute)
Adds all the values from the specified attribute to this attribute builder if they are not already present.
|
void |
Entry.addAttribute(Attribute attribute)
Ensures that this entry contains the provided attribute and its values.
|
void |
Entry.addAttribute(Attribute attribute,
Collection<? super org.forgerock.opendj.ldap.ByteString> duplicateValues)
Ensures that this entry contains the provided attribute and its values.
|
void |
Entry.addAttribute(Attribute attribute,
List<org.forgerock.opendj.ldap.ByteString> duplicateValues)
Ensures that this entry contains the provided attribute and its values.
|
static Attribute |
Attributes.empty(Attribute attribute)
Creates a new attribute which has the same attribute type and attribute options as the provided attribute but no
attribute values.
|
void |
Entry.incrementAttribute(Attribute attribute)
Increments an attribute in this entry by the amount specified in the provided attribute.
|
static Attribute |
Attributes.merge(Attribute a1,
Attribute a2)
Creates a new attribute containing all the values from the two provided attributes.
|
static Attribute |
Attributes.merge(Attribute a1,
Attribute a2,
Collection<org.forgerock.opendj.ldap.ByteString> duplicateValues)
Creates a new attribute containing all the values from the two provided attributes and put any duplicate values
into the provided collection.
|
static AttributeParser |
AttributeParser.parseAttribute(Attribute attribute)
Returns an attribute parser for the provided attribute.
|
boolean |
AttributeBuilder.removeAll(Attribute attribute)
Removes all the values from the specified attribute from this attribute builder if they are not already present.
|
boolean |
Entry.removeAttribute(Attribute attribute,
Collection<? super org.forgerock.opendj.ldap.ByteString> missingValues)
Ensures that this entry does not contain the provided attribute values.
|
boolean |
Entry.removeAttribute(Attribute attribute,
List<org.forgerock.opendj.ldap.ByteString> missingValues)
Ensures that this entry does not contain the provided attribute values.
|
void |
AttributeBuilder.replaceAll(Attribute attribute)
Replaces all the values in this attribute value with the attributes from the specified attribute.
|
void |
Entry.replaceAttribute(Attribute attribute)
Puts the provided attribute into this entry.
|
void |
Modification.setAttribute(Attribute attribute)
Specifies the attribute for this modification.
|
static Attribute |
Attributes.subtract(Attribute a1,
Attribute a2)
Creates a new attribute containing the values from the first attribute which are not in the second attribute.
|
static Attribute |
Attributes.subtract(Attribute a1,
Attribute a2,
Collection<org.forgerock.opendj.ldap.ByteString> missingValues)
Creates a new attribute containing the values from the first attribute which are not in the second attribute.
|
Modifier and Type | Method and Description |
---|---|
void |
Entry.putAttribute(org.forgerock.opendj.ldap.schema.AttributeType attributeType,
List<Attribute> attributeList)
Puts the provided attribute in this entry.
|
Constructor and Description |
---|
AttributeBuilder(Attribute attribute)
Creates a new attribute builder from an existing attribute.
|
CollectiveVirtualAttribute(Attribute attribute)
Creates a new collective virtual attribute.
|
Modification(org.forgerock.opendj.ldap.ModificationType modificationType,
Attribute attribute)
Creates a new modification with the provided information.
|
Modification(org.forgerock.opendj.ldap.ModificationType modificationType,
Attribute attribute,
boolean isInternal)
Creates a new modification with the provided information.
|
Constructor and Description |
---|
Entry(org.forgerock.opendj.ldap.Dn dn,
Map<org.forgerock.opendj.ldap.schema.ObjectClass,String> objectClasses,
Map<org.forgerock.opendj.ldap.schema.AttributeType,List<Attribute>> userAttributes,
Map<org.forgerock.opendj.ldap.schema.AttributeType,List<Attribute>> operationalAttributes)
Creates a new entry with the provided information.
|
Entry(org.forgerock.opendj.ldap.Dn dn,
Map<org.forgerock.opendj.ldap.schema.ObjectClass,String> objectClasses,
Map<org.forgerock.opendj.ldap.schema.AttributeType,List<Attribute>> userAttributes,
Map<org.forgerock.opendj.ldap.schema.AttributeType,List<Attribute>> operationalAttributes)
Creates a new entry with the provided information.
|
Modifier and Type | Method and Description |
---|---|
Map<org.forgerock.opendj.ldap.schema.AttributeType,List<Attribute>> |
PreOperationAddOperation.getOperationalAttributes()
Retrieves the set of processed operational attributes for the entry to add.
|
Map<org.forgerock.opendj.ldap.schema.AttributeType,List<Attribute>> |
PostSynchronizationAddOperation.getOperationalAttributes()
Retrieves the set of processed operational attributes for the entry to add.
|
Map<org.forgerock.opendj.ldap.schema.AttributeType,List<Attribute>> |
PostOperationAddOperation.getOperationalAttributes()
Retrieves the set of processed operational attributes for the entry to add.
|
Map<org.forgerock.opendj.ldap.schema.AttributeType,List<Attribute>> |
PostResponseAddOperation.getOperationalAttributes()
Retrieves the set of processed operational attributes for the entry to add.
|
Map<org.forgerock.opendj.ldap.schema.AttributeType,List<Attribute>> |
PreOperationAddOperation.getUserAttributes()
Retrieves the set of processed user attributes for the entry to add.
|
Map<org.forgerock.opendj.ldap.schema.AttributeType,List<Attribute>> |
PostSynchronizationAddOperation.getUserAttributes()
Retrieves the set of processed user attributes for the entry to add.
|
Map<org.forgerock.opendj.ldap.schema.AttributeType,List<Attribute>> |
PostOperationAddOperation.getUserAttributes()
Retrieves the set of processed user attributes for the entry to add.
|
Map<org.forgerock.opendj.ldap.schema.AttributeType,List<Attribute>> |
PostResponseAddOperation.getUserAttributes()
Retrieves the set of processed user attributes for the entry to add.
|
Modifier and Type | Method and Description |
---|---|
void |
PreOperationAddOperation.setAttribute(org.forgerock.opendj.ldap.schema.AttributeType attributeType,
List<Attribute> attributeList)
Sets the specified attribute in the entry to add, overwriting any existing attribute of the specified type if
necessary.
|
Modifier and Type | Method and Description |
---|---|
List<Attribute> |
AddChangeRecordEntry.getAttributes()
Retrieves the entire set of attributes for this entry.
|
protected Map<org.forgerock.opendj.ldap.schema.AttributeType,List<Attribute>> |
LDIFReader.toAttributesMap(Map<org.forgerock.opendj.ldap.schema.AttributeType,List<AttributeBuilder>> attrBuilders)
Returns a new Map where the provided Map with AttributeBuilders is converted to another Map with Attributes.
|
Modifier and Type | Method and Description |
---|---|
protected void |
LDIFReader.addRDNAttributesIfNecessary(org.forgerock.opendj.ldap.Dn entryDN,
Map<org.forgerock.opendj.ldap.schema.AttributeType,List<Attribute>> userAttributes,
Map<org.forgerock.opendj.ldap.schema.AttributeType,List<Attribute>> operationalAttributes)
Adds any missing RDN attributes to the entry that is being imported.
|
protected void |
LDIFReader.addRDNAttributesIfNecessary(org.forgerock.opendj.ldap.Dn entryDN,
Map<org.forgerock.opendj.ldap.schema.AttributeType,List<Attribute>> userAttributes,
Map<org.forgerock.opendj.ldap.schema.AttributeType,List<Attribute>> operationalAttributes)
Adds any missing RDN attributes to the entry that is being imported.
|
Constructor and Description |
---|
AddChangeRecordEntry(org.forgerock.opendj.ldap.Dn dn,
List<Attribute> attributes)
Creates a new entry with the provided information.
|
Copyright © 2010–2017 ForgeRock AS. All rights reserved.