Package | Description |
---|---|
org.forgerock.opendj.config.server.spi |
Contains a number of API declarations for use throughout the
Directory Server.
|
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.messages |
Classes and interfaces for core LDAP requests/responses.
|
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.server.core |
Classes implementing a Grizzly based
ConnectionHandler using reactive api. |
org.opends.server.api |
Contains a number of API declarations for use throughout the
Directory Server.
|
org.opends.server.api.plugin |
Defines the Directory Server plugin API.
|
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.backends |
Contains various Directory Server backend implementations.
|
org.opends.server.backends.pluggable |
Contains the code for implementing Directory Server pluggable storage backends.
|
org.opends.server.backends.task |
Contains the code for the Directory Server backend that provides an interface for executing administrative tasks.
|
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.extensions |
Contains various implementations of Directory Server APIs that are not appropriate for other packages.
|
org.opends.server.plugins |
Contains the implementation for various Directory Server plugins.
|
org.opends.server.protocols.http |
Contains the implementation for the Directory Server connection handler that is responsible for interacting with
clients using HTTP.
|
org.opends.server.protocols.http.authz |
Contains factories to build the authorization stage of the HTTP request processing.
|
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.replication.service |
This package contains the generic 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.tools |
Contains various Directory Server tool implementations.
|
org.opends.server.tools.tasks |
This package contains classes that support client tool interaction with the tasks backend.
|
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 |
---|---|
Entry |
ConfigurationRepository.getEntry(Dn dn)
Returns the configuration entry for the provided DN.
|
Modifier and Type | Method and Description |
---|---|
ConfigChangeResult |
ConfigAddListener.applyConfigurationAdd(Entry configEntry)
Attempts to apply a new configuration based on the provided added entry.
|
ConfigChangeResult |
ConfigChangeListener.applyConfigurationChange(Entry configEntry)
Attempts to apply a new configuration to this Directory Server component
based on the provided changed entry.
|
ConfigChangeResult |
ConfigDeleteListener.applyConfigurationDelete(Entry configEntry)
Attempts to apply a new configuration based on the provided deleted
entry.
|
boolean |
ConfigAddListener.configAddIsAcceptable(Entry configEntry,
LocalizableMessageBuilder unacceptableReason)
Indicates whether the configuration entry that will result from a
proposed add is acceptable to this add listener.
|
boolean |
ConfigChangeListener.configChangeIsAcceptable(Entry configEntry,
LocalizableMessageBuilder unacceptableReason)
Indicates whether the configuration entry that will result from a
proposed modification is acceptable to this change listener.
|
boolean |
ConfigDeleteListener.configDeleteIsAcceptable(Entry configEntry,
LocalizableMessageBuilder unacceptableReason)
Indicates whether it is acceptable to remove the provided configuration
entry.
|
Modifier and Type | Method and Description |
---|---|
static Entry |
Ldap.readEntry(Asn1Reader reader,
DecodeOptions options)
Reads the next ASN.1 element from the provided
ASN1Reader as an Entry . |
Modifier and Type | Method and Description |
---|---|
static void |
Ldap.writeEntry(Asn1Writer writer,
Entry entry)
Writes an
Entry to the provided Asn1Writer . |
Modifier and Type | Class and Description |
---|---|
class |
AbstractEntry
This class provides a skeletal implementation of the
Entry interface, to minimize the effort required to
implement this interface. |
class |
AbstractMapEntry<M extends Map<AttributeDescription,Attribute>>
Abstract implementation for
Map based entries. |
static class |
Entries.NullEntry
An
Entry which implements the null object pattern. |
class |
LinkedHashMapEntry
An implementation of the
Entry interface which uses a LinkedHashMap for storing attributes. |
class |
TreeMapEntry
An implementation of the
Entry interface which uses a TreeMap for storing attributes. |
Modifier and Type | Method and Description |
---|---|
default Entry |
Entry.addAttribute(String attributeDescription,
Object... values)
Ensures that this entry contains the provided attribute and values (optional operation).
|
Entry |
Entry.clearAttributes()
Removes all the attributes from this entry (optional operation).
|
Entry |
Entries.NullEntry.clearAttributes() |
Entry |
AbstractMapEntry.clearAttributes() |
static Entry |
Entries.copyOnWriteEntry(Entry entry,
Function<Entry,Entry> copyConstructor)
Returns a shallow copy-on-write view of
entry . |
Entry |
AttributeFilter.filteredCopyOf(Entry entry)
Returns a modifiable filtered copy of the provided entry.
|
Entry |
AttributeFilter.filteredViewOf(Entry entry)
Returns an unmodifiable filtered view of the provided entry.
|
Entry |
MemoryBackend.get(Dn dn)
Returns a deep copy of the named entry contained in this memory backend, or
null if it does not exist. |
Entry |
MemoryBackend.get(String dn)
Returns a deep copy of the named entry contained in this memory backend, or
null if it does not exist. |
Entry |
RootDse.getEntry()
Returns the entry which backs this Root DSE instance.
|
static Entry |
Entries.makeEntry(String... ldifLines)
Builds an entry from the provided lines of LDIF.
|
static Entry |
Entries.modifyEntry(Entry entry,
Modification change)
Applies the provided modification to an entry.
|
static Entry |
Entries.modifyEntry(Entry entry,
Modification change,
Collection<? super ByteString> conflictingValues)
Applies the provided modification to an entry.
|
static Entry |
Entries.modifyEntry(Entry entry,
ModifyRequest changes)
Applies the provided modification request to an entry.
|
static Entry |
Entries.modifyEntryPermissive(Entry entry,
Collection<Modification> changes)
Applies the provided modifications to an entry using "permissive" modify
semantics.
|
static Entry |
Entries.modifyEntryStrict(Entry entry,
Collection<Modification> changes)
Applies the provided modifications to an entry using "strict" modify
semantics.
|
static Entry |
Entries.nullEntry(Dn dn)
Returns a read-only empty entry having the provided distinguished name.
|
default Entry |
Entry.removeAttribute(String attributeDescription,
Object... values)
Removes all of the attribute values contained in
values from the named attribute in this entry if it is
present (optional operation). |
default Entry |
Entry.replaceAttribute(String attributeDescription,
Object... values)
Adds all of the attribute values contained in
values to this entry, replacing any existing attribute
values (optional operation). |
Entry |
Entry.setName(Dn dn)
Sets the distinguished name of this entry (optional operation).
|
Entry |
Entries.NullEntry.setName(Dn dn) |
Entry |
AbstractMapEntry.setName(Dn dn) |
default Entry |
Entry.setName(String dn)
Sets the distinguished name of this entry (optional operation).
|
static Entry |
Entries.unmodifiableEntry(Entry entry)
Returns a read-only view of
entry and its attributes. |
Modifier and Type | Method and Description |
---|---|
Comparator<Entry> |
SortKey.comparator()
Returns a
Comparator which can be used to compare entries using
this sort key. |
static Comparator<Entry> |
SortKey.comparator(Collection<SortKey> keys)
Returns a
Comparator which can be used to compare entries using
the provided list of sort keys. |
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 Comparator<Entry> |
SortKey.comparator(SortKey... keys)
Returns a
Comparator which can be used to compare entries using
the provided list of sort keys. |
static Comparator<Entry> |
SortKey.comparator(String sortKeys)
Returns a
Comparator which can be used to compare entries using
the provided string representation of a list of sort keys. |
static Comparator<Entry> |
Entries.compareByName()
Returns a
Comparator which can be used to compare entries by name
using the natural order for DN comparisons (parent before children). |
Collection<Entry> |
MemoryBackend.getAll()
Returns a collection containing all of the entries in this memory
backend.
|
Function<Dn,Entry> |
DecodeOptions.getEntryFactory()
Returns the function which will be used for creating new
Entry instances when decoding entries. |
static List<Entry> |
Entries.makeEntries(String... ldifLines)
Builds a list of entries from the provided lines of LDIF.
|
Modifier and Type | Method and Description |
---|---|
Result |
Connection.add(Entry entry)
Adds the provided entry to the Directory Server.
|
Result |
AbstractConnectionWrapper.add(Entry entry)
Adds the provided entry to the Directory Server.
|
Result |
AbstractConnection.add(Entry entry) |
static boolean |
Entries.conformsToSchema(Entry entry,
SchemaValidationPolicy policy,
Collection<LocalizableMessage> errorMessages)
Returns
true 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)
Returns
true if the provided entry is valid according to the
specified schema and schema validation policy. |
static boolean |
Entries.containsObjectClass(Entry entry,
ObjectClass objectClass)
Check if the provided entry contains the provided object class.
|
static boolean |
Entries.containsObjectClass(Entry entry,
ObjectClass objectClass,
Schema schema)
Check if the provided entry contains the provided object class.
|
static Entry |
Entries.copyOnWriteEntry(Entry entry,
Function<Entry,Entry> copyConstructor)
Returns a shallow copy-on-write view of
entry . |
static TreeMapEntry |
TreeMapEntry.deepCopyOfEntry(Entry entry)
Creates an entry having the same distinguished name, attributes, and object classes of the provided entry.
|
static LinkedHashMapEntry |
LinkedHashMapEntry.deepCopyOfEntry(Entry entry)
Creates an entry having the same distinguished name, attributes, and object classes of the provided entry.
|
static ModifyRequest |
Entries.diffEntries(Entry fromEntry,
Entry toEntry)
Creates a new modify request containing a list of modifications which can
be used to transform
fromEntry into entry toEntry . |
static ModifyRequest |
Entries.diffEntries(Entry fromEntry,
Entry toEntry,
Options options)
Creates a new modify request containing a list of modifications which can
be used to transform
fromEntry into entry toEntry . |
Entry |
AttributeFilter.filteredCopyOf(Entry entry)
Returns a modifiable filtered copy of the provided entry.
|
Entry |
AttributeFilter.filteredViewOf(Entry entry)
Returns an unmodifiable filtered view of the provided entry.
|
static Set<ObjectClass> |
Entries.getObjectClasses(Entry entry)
Returns an unmodifiable set containing the object classes associated with
the provided entry.
|
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)
Returns the structural object class associated with the provided entry,
or
null if none was found. |
static ObjectClass |
Entries.getStructuralObjectClass(Entry entry,
Schema schema)
Returns the structural object class associated with the provided entry,
or
null if none was found. |
static boolean |
Entries.isSubEntry(Entry entry)
Returns whether the provided entry is a sub entry.
|
ConditionResult |
Matcher.matches(Entry entry)
Indicates whether this filter
Matcher matches the provided Entry . |
ConditionResult |
Filter.matches(Entry entry)
Indicates whether this
Filter matches the provided Entry
using the default schema. |
static Entry |
Entries.modifyEntry(Entry entry,
Modification change)
Applies the provided modification to an entry.
|
static Entry |
Entries.modifyEntry(Entry entry,
Modification change,
Collection<? super ByteString> conflictingValues)
Applies the provided modification to an entry.
|
static Entry |
Entries.modifyEntry(Entry entry,
ModifyRequest changes)
Applies the provided modification request to an entry.
|
static Entry |
Entries.modifyEntryPermissive(Entry entry,
Collection<Modification> changes)
Applies the provided modifications to an entry using "permissive" modify
semantics.
|
static Entry |
Entries.modifyEntryStrict(Entry entry,
Collection<Modification> changes)
Applies the provided modifications to an entry using "strict" modify
semantics.
|
static TreeMapEntry |
TreeMapEntry.shallowCopyOfEntry(Entry entry)
Creates an entry having the same distinguished name, attributes, and object classes of the provided entry.
|
static LinkedHashMapEntry |
LinkedHashMapEntry.shallowCopyOfEntry(Entry entry)
Creates an entry having the same distinguished name, attributes, and object classes of the provided entry.
|
static String |
Entries.toLdif(Entry entry)
Returns the LDIF representation of
entry . |
static Entry |
Entries.unmodifiableEntry(Entry entry)
Returns a read-only view of
entry and its attributes. |
static RootDse |
RootDse.valueOf(Entry entry)
Creates a new Root DSE instance backed by the provided entry.
|
Modifier and Type | Method and Description |
---|---|
static Entry |
Entries.copyOnWriteEntry(Entry entry,
Function<Entry,Entry> copyConstructor)
Returns a shallow copy-on-write view of
entry . |
static Entry |
Entries.copyOnWriteEntry(Entry entry,
Function<Entry,Entry> copyConstructor)
Returns a shallow copy-on-write view of
entry . |
DecodeOptions |
DecodeOptions.setEntryFactory(Function<Dn,Entry> factory)
Sets the function which will be used for creating new
Entry instances when decoding entries. |
Modifier and Type | Method and Description |
---|---|
Entry |
PreReadResponseControl.getEntry()
Returns an unmodifiable entry whose contents reflect the state of the
updated entry immediately before the update operation was performed.
|
Entry |
PostReadResponseControl.getEntry()
Returns an unmodifiable entry whose contents reflect the state of the
updated entry immediately after the update operation was performed.
|
Modifier and Type | Method and Description |
---|---|
static PreReadResponseControl |
PreReadResponseControl.newControl(Entry entry)
Creates a new pre-read response control.
|
static PostReadResponseControl |
PostReadResponseControl.newControl(Entry entry)
Creates a new post-read response control.
|
Modifier and Type | Interface and Description |
---|---|
interface |
AddRequest
The Add operation allows a client to request the addition of an entry into
the Directory.
|
interface |
SearchResultEntry
A Search Result Entry represents an entry found during a Search operation.
|
Modifier and Type | Method and Description |
---|---|
static AddRequest |
Requests.newAddRequest(Entry entry)
Creates a new add request backed by the provided entry.
|
static ModifyRequest |
Requests.newModifyRequest(Entry fromEntry,
Entry toEntry)
Creates a new modify request containing a list of modifications which can
be used to transform
fromEntry into entry toEntry . |
static SearchResultEntry |
Responses.newSearchResultEntry(Entry entry)
Creates a new search result entry backed by the provided entry.
|
Modifier and Type | Method and Description |
---|---|
Entry |
Schema.toEntry(Entry entry)
Adds the definitions of all the schema elements contained in this schema
to the provided subschema subentry.
|
Modifier and Type | Method and Description |
---|---|
Function<Dn,Entry,LdapException> |
SchemaValidationPolicy.checkDitStructureRulesParentEntryResolver()
Returns the parent entry resolver which should be used for retrieving the parent entry
during DIT structure rule validation.
|
Modifier and Type | Method and Description |
---|---|
SchemaBuilder |
SchemaBuilder.addSchema(Entry entry,
boolean overwrite)
Adds all of the schema elements contained in the provided subschema
subentry to this schema builder.
|
SchemaBuilder |
SchemaBuilder.addSchema(Entry entry,
boolean overwrite,
SchemaBuilder.SchemaBuilderHook hook)
Adds all of the schema elements contained in the provided subschema
subentry to this schema builder.
|
Entry |
Schema.toEntry(Entry entry)
Adds the definitions of all the schema elements contained in this schema
to the provided subschema subentry.
|
boolean |
Schema.validateEntry(Entry entry,
SchemaValidationPolicy policy,
Collection<LocalizableMessage> errorMessages)
Returns
true if the provided entry is valid according to this
schema and the specified schema validation policy. |
static Schema |
Schema.valueOf(Entry entry)
Parses the provided entry as a subschema subentry.
|
Modifier and Type | Method and Description |
---|---|
SchemaValidationPolicy |
SchemaValidationPolicy.checkDitStructureRules(SchemaValidationPolicy.Action policy,
Function<Dn,Entry,LdapException> parentEntryResolver)
Specifies the policy for validating entries against structure rules defined in the schema.
|
Constructor and Description |
---|
SchemaBuilder(Entry entry)
Creates a new schema builder containing all of the schema elements
contained in the provided subschema subentry.
|
Modifier and Type | Method and Description |
---|---|
Entry |
RejectedChangeRecordListener.handleDuplicateEntry(AddRequest change,
Entry existingEntry)
Invoked when an attempt was made to add an entry which already exists.
|
Entry |
RejectedChangeRecordListener.handleDuplicateEntry(ModifyDnRequest change,
Entry existingEntry,
Entry renamedEntry)
Invoked when an attempt was made to rename an entry which already exists.
|
static Entry |
Ldif.makeEntry(List<String> ldifLines)
Builds an entry from the provided lines of LDIF.
|
static Entry |
Ldif.makeEntry(String... ldifLines)
Builds an entry from the provided lines of LDIF.
|
Entry |
LdifEntryReader.readEntry()
Reads the next entry, blocking if necessary until an entry is available.
|
Entry |
EntryReader.readEntry()
Reads the next entry, blocking if necessary until an entry is available.
|
Entry |
EntryGenerator.readEntry() |
Modifier and Type | Method and Description |
---|---|
static List<Entry> |
Ldif.makeEntries(List<String> ldifLines)
Builds a list of entries from the provided lines of LDIF.
|
static List<Entry> |
Ldif.makeEntries(String... ldifLines)
Builds a list of entries from the provided lines of LDIF.
|
static Flowable<Entry> |
Ldif.newEntryPublisher(Callable<? extends EntryReader> factory)
Returns a
Flowable view of a EntryReader , creating a new reader for each subscriber. |
Modifier and Type | Method and Description |
---|---|
Entry |
RejectedChangeRecordListener.handleDuplicateEntry(AddRequest change,
Entry existingEntry)
Invoked when an attempt was made to add an entry which already exists.
|
Entry |
RejectedChangeRecordListener.handleDuplicateEntry(ModifyDnRequest change,
Entry existingEntry,
Entry renamedEntry)
Invoked when an attempt was made to rename an entry which already exists.
|
static String |
Ldif.toLdif(Entry entry)
Returns the LDIF representation of
entry . |
static String |
LdifEntryWriter.toString(Entry entry)
Returns the LDIF string representation of the provided entry.
|
LdifEntryWriter |
LdifEntryWriter.writeEntry(Entry entry) |
EntryWriter |
EntryWriter.writeEntry(Entry entry)
Writes an entry.
|
ConnectionEntryWriter |
ConnectionEntryWriter.writeEntry(Entry entry)
Writes an entry to the underlying connection using an Add request,
blocking until the request completes.
|
Modifier and Type | Method and Description |
---|---|
static EntryReader |
Ldif.newEntryReader(Iterable<? extends Entry> entries)
Returns an entry reader over the provided entry collection.
|
static EntryReader |
Ldif.newEntryReader(Iterator<? extends Entry> entries)
Returns an entry reader over the provided entry iterator.
|
Modifier and Type | Method and Description |
---|---|
Entry |
RequestContext.getEntryAsAddedByServer()
Returns the entry as added by the server, with all additional operational attributes.
|
Modifier and Type | Method and Description |
---|---|
void |
RequestContext.setEntryAsAddedByServer(Entry entryAsAddedByServer)
Sets the entry added as added by the server in the DIT.
|
Modifier and Type | Field and Description |
---|---|
protected Entry |
AuthenticationPolicyState.userEntry
The user entry associated with this authentication policy state.
|
Modifier and Type | Method and Description |
---|---|
abstract Entry |
LocalBackend.getEntry(Dn entryDN)
Retrieves the requested entry from this backend.
|
abstract Entry |
EntryCache.getEntry(Dn entryDN)
Retrieves the entry with the specified DN from the cache.
|
Entry |
EntryCache.getEntry(String backendID,
long entryID)
Retrieves the requested entry if it is present in the cache.
|
abstract Entry |
IdentityMapper.getEntryForID(String id)
Retrieves the user entry that was mapped to the provided identification string.
|
Entry |
MonitorProvider.getMonitorEntry()
Generates and returns a monitor entry based on the contents of this monitor provider.
|
Entry |
CertificateMapper.mapCertificateToUser(Certificate[] certificateChain)
Establishes a mapping between the information in the provided certificate chain and a single user entry in the
Directory Server.
|
protected abstract Entry |
CertificateMapper.mapCertificateToUser0(Certificate[] certificateChain)
Implements certificate mapper specific logic for mapping the provided certificate to a user entry.
|
Modifier and Type | Method and Description |
---|---|
abstract void |
LocalBackend.addEntry(Entry entry,
AddOperation addOperation)
Adds the provided entry to this backend.
|
boolean |
AccessControlHandler.canDiscloseInformation(Entry entry,
Dn entryDN,
Operation operation)
Checks whether the ACIs prevent sending information about the provided entry, or entryDN if entry is null.
|
void |
SubentryChangeListener.checkSubentryAddAcceptable(Entry entry)
Performs any checking that may be required before subentry add operation.
|
void |
SubentryChangeListener.checkSubentryDeleteAcceptable(Entry entry)
Performs any checking that may be required before subentry delete operation.
|
void |
SubentryChangeListener.checkSubentryModifyAcceptable(Entry oldEntry,
Entry newEntry)
Performs any checking that may be required before subentry modify operation.
|
void |
SubentryChangeListener.checkSubentryModifyDNAcceptable(Entry oldEntry,
Entry newEntry)
Performs any checking that may be required before subentry modify DN operation.
|
AuthenticationPolicyState |
AuthenticationPolicy.createAuthenticationPolicyState(Entry userEntry)
Returns the authentication policy state object for the provided user using the current time as the basis for all
time-based state logic (such as expiring passwords).
|
abstract AuthenticationPolicyState |
AuthenticationPolicy.createAuthenticationPolicyState(Entry userEntry,
long time)
Returns an authentication policy state object for the provided user using the specified time as the basis for all
time-based state logic (such as expiring passwords).
|
boolean |
EntryCache.filtersAllowCaching(Entry entry)
Indicates whether the current set of exclude and include filters allow caching of the specified entry.
|
static AuthenticationPolicyState |
AuthenticationPolicyState.forUser(Entry userEntry,
boolean useDefaultOnError)
Returns the authentication policy state for the user provided user.
|
static AuthenticationPolicy |
AuthenticationPolicy.forUser(Entry userEntry,
boolean useDefaultOnError)
Returns the authentication policy for the user provided user.
|
abstract ByteString |
PasswordGenerator.generatePassword(Entry userEntry)
Generates a password for the user whose account is contained in the specified entry.
|
abstract Attribute |
VirtualAttributeProvider.getAttribute(Entry entry,
AttributeDescription attributeDescription)
Generates an unmodifiable attribute with the values for the provided entry.
|
protected static ConditionResult |
AuthenticationPolicyState.getBoolean(Entry entry,
String attributeName)
A utility method which may be used by implementations in order to obtain the value of the specified attribute
from the provided entry as a boolean.
|
protected static long |
AuthenticationPolicyState.getGeneralizedTime(Entry entry,
AttributeDescription attrDesc)
A utility method which may be used by implementations in order to obtain the value of the specified attribute
from the provided entry as a time in generalized time format.
|
void |
SubentryChangeListener.handleSubentryAdd(Entry entry)
Performs any processing that may be required after a subentry add operation.
|
void |
SubentryChangeListener.handleSubentryDelete(Entry entry)
Performs any processing that may be required after a subentry delete operation.
|
void |
SubentryChangeListener.handleSubentryModify(Entry oldEntry,
Entry newEntry)
Performs any processing that may be required after a subentry modify operation.
|
void |
SubentryChangeListener.handleSubentryModifyDN(Entry oldEntry,
Entry newEntry)
Performs any processing that may be required after a subentry modify DN operation.
|
static boolean |
ClientConnection.hasPrivilege(Entry authorizationEntry,
Privilege privilege)
Indicate whether the specified authorization entry parameter has the specified privilege.
|
boolean |
AccessControlHandler.isAllowed(Operation operation,
Entry entry,
Filter filter)
Indicates whether the provided operation search filter is allowed based on the access control configuration.
|
abstract boolean |
Group.isGroupDefinition(Entry entry)
Indicates whether the provided entry contains a valid definition for this type of group.
|
boolean |
Group.isMember(Entry userEntry)
Indicates whether the user described by the provided user entry is a member of this group.
|
abstract boolean |
Group.isMember(Entry userEntry,
AtomicReference<Set<Dn>> examinedGroups)
Indicates whether the user described by the provided user entry is a member of this group.
|
boolean |
AccessControlHandler.mayProxy(Entry proxyUser,
Entry proxiedUser,
Operation operation)
Indicates if the specified proxy user entry can proxy, or act on the behalf of the specified proxied user entry.
|
abstract Group<T> |
Group.newInstance(ServerContext serverContext,
Entry groupEntry)
Creates a new group of this type based on the definition contained in the provided entry.
|
abstract boolean |
PasswordValidator.passwordIsAcceptable(ByteString newPassword,
Set<ByteString> currentPasswords,
Operation operation,
Entry userEntry,
LocalizableMessageBuilder invalidReason)
Indicates whether the provided password is acceptable for use by the specified user.
|
abstract void |
EntryCache.putEntry(Entry entry,
String backendID,
long entryID)
Stores the provided entry in the cache.
|
abstract boolean |
EntryCache.putEntryIfAbsent(Entry entry,
String backendID,
long entryID)
Stores the provided entry in the cache only if it does not conflict with an entry that already exists.
|
abstract void |
LocalBackend.renameEntry(Dn currentDN,
Entry entry,
ModifyDnOperation modifyDNOperation)
Moves and/or renames the provided entry in this backend, altering any subordinate entries as necessary.
|
abstract void |
LocalBackend.replaceEntry(Entry oldEntry,
Entry newEntry,
ModifyOperation modifyOperation)
Replaces the specified entry with the provided entry in this backend.
|
void |
ClientConnection.setResourceLimits(Entry userEntry)
Set the resource limits from the specified user entry.
|
void |
ClientConnection.updateAuthenticationInfo(Entry oldEntry,
Entry newEntry)
Updates the cached entry associated with either the authentication and/or authorization identity with the
provided version.
|
protected void |
ClientConnection.updatePrivileges(Entry entry)
Updates the privileges associated with this client connection object based on the provided entry for the
authentication identity.
|
Constructor and Description |
---|
AuthenticationPolicyState(Entry userEntry)
Creates a new abstract authentication policy context.
|
Modifier and Type | Method and Description |
---|---|
PluginResult.ImportLDIF |
DirectoryServerPlugin.doLDIFExport(LDIFExportConfig exportConfig,
Entry entry)
Performs any necessary processing that should be done during an LDIF export operation immediately after
determining that the provided entry should be included in the export.
|
PluginResult.ImportLDIF |
DirectoryServerPlugin.doLDIFImport(LDIFImportConfig importConfig,
Entry entry)
Performs any necessary processing that should be done during an LDIF import operation immediately after reading
an entry and confirming that it should be imported based on the provided configuration.
|
PluginResult.SubordinateDelete |
DirectoryServerPlugin.processSubordinateDelete(DeleteOperation deleteOperation,
Entry entry)
Performs any necessary processing that should be done whenever a subordinate entry is deleted as part of subtree
delete operation.
|
PluginResult.SubordinateModifyDN |
DirectoryServerPlugin.processSubordinateModifyDN(SubordinateModifyDNOperation modifyDNOperation,
Entry oldEntry,
Entry newEntry,
List<Modification> modifications)
Performs any necessary processing that should be done whenever a subordinate entry is moved or renamed as part of
a modify DN operation.
|
Modifier and Type | Method and Description |
---|---|
Entry |
AciEvalContext.getClientEntry()
Get the client entry.
|
Entry |
AciTargetMatchContext.getResourceEntry()
Get the entry being evaluated.
|
Entry |
AciEvalContext.getResourceEntry()
Return the entry being evaluated .
|
Modifier and Type | Method and Description |
---|---|
void |
AciList.addAci(Entry entry,
List<LocalizableMessage> failedACIMsgs)
Add all of an entry's ACI (global or regular) attribute values to the ACI list.
|
static void |
AciEffectiveRights.addRightsToEntry(AciHandler handler,
Set<String> searchAttributes,
AciLDAPOperationContainer container,
Entry e,
boolean skipCheck)
Attempts to add the geteffectiverights asked for in the search to the entry being returned.
|
boolean |
AciHandler.canDiscloseInformation(Entry entry,
Dn entryDN,
Operation operation) |
static boolean |
UserDN.evaluate(Entry e,
Dn clientDN,
AttributeType attrType)
This method searches an entry for an attribute value that is treated as a DN.
|
boolean |
AciHandler.isAllowed(Operation operation,
Entry entry,
Filter filter) |
boolean |
AciHandler.mayProxy(Entry proxyUser,
Entry proxiedUser,
Operation op) |
void |
AciList.modAciOldNewEntry(Entry oldEntry,
Entry newEntry)
Remove all of the ACIs related to the old entry and then add all of the ACIs related to the new entry.
|
boolean |
AciList.removeAci(Entry entry)
Remove global and regular ACIs from the list.
|
Modifier and Type | Method and Description |
---|---|
int |
AciList.addAci(List<? extends Entry> entries,
LinkedList<LocalizableMessage> failedACIMsgs)
Add all the ACI from a set of entries to the ACI list.
|
Constructor and Description |
---|
AciLDAPOperationContainer(ExtendedOperation operation,
Entry e,
int rights)
Constructor interface for evaluation of the extended operation.
|
AciLDAPOperationContainer(ModifyDnOperation operation,
int rights,
Entry entry)
Constructor interface for the modify DN operation.
|
AciLDAPOperationContainer(Operation operation,
Entry e,
AuthenticationInfo authInfo,
int rights)
Constructor interface for evaluation general purpose Operation, entry and rights..
|
AciLDAPOperationContainer(Operation operation,
Entry e,
Control c,
int rights)
Constructor interface for evaluation of a control.
|
AciLDAPOperationContainer(Operation operation,
int rights,
Entry entry)
Constructor interface for all currently supported LDAP operations.
|
Modifier and Type | Method and Description |
---|---|
Entry |
TrustStoreBackend.getEntry(Dn entryDN) |
Entry |
SchemaBackend.getEntry(Dn entryDN) |
Entry |
RootDSEBackend.getEntry(Dn entryDN) |
Entry |
NullBackend.getEntry(Dn entryDn) |
Entry |
MonitorBackend.getEntry(Dn entryDN) |
Entry |
MemoryBackend.getEntry(Dn entryDN) |
Entry |
LDIFBackend.getEntry(Dn entryDN) |
Entry |
ConfigurationBackend.getEntry(Dn entryDN) |
Entry |
ChangelogBackend.getEntry(Dn entryDN) |
Entry |
BackupBackend.getEntry(Dn entryDN) |
Modifier and Type | Method and Description |
---|---|
void |
TrustStoreBackend.addEntry(Entry entry,
AddOperation addOperation) |
void |
SchemaBackend.addEntry(Entry entry,
AddOperation addOperation) |
void |
RootDSEBackend.addEntry(Entry entry,
AddOperation addOperation) |
void |
NullBackend.addEntry(Entry entry,
AddOperation addOperation) |
void |
MonitorBackend.addEntry(Entry entry,
AddOperation addOperation) |
void |
MemoryBackend.addEntry(Entry entry,
AddOperation addOperation) |
void |
LDIFBackend.addEntry(Entry entry,
AddOperation addOperation) |
void |
ConfigurationBackend.addEntry(Entry entry,
AddOperation addOperation) |
void |
ChangelogBackend.addEntry(Entry entry,
AddOperation addOperation) |
void |
BackupBackend.addEntry(Entry entry,
AddOperation addOperation) |
void |
TrustStoreBackend.renameEntry(Dn currentDN,
Entry entry,
ModifyDnOperation modifyDNOperation) |
void |
SchemaBackend.renameEntry(Dn currentDN,
Entry entry,
ModifyDnOperation modifyDNOperation) |
void |
RootDSEBackend.renameEntry(Dn currentDN,
Entry entry,
ModifyDnOperation modifyDNOperation) |
void |
NullBackend.renameEntry(Dn currentDN,
Entry entry,
ModifyDnOperation modifyDNOperation) |
void |
MonitorBackend.renameEntry(Dn currentDN,
Entry entry,
ModifyDnOperation modifyDNOperation) |
void |
MemoryBackend.renameEntry(Dn currentDN,
Entry entry,
ModifyDnOperation modifyDNOperation) |
void |
LDIFBackend.renameEntry(Dn currentDN,
Entry entry,
ModifyDnOperation modifyDNOperation) |
void |
ConfigurationBackend.renameEntry(Dn currentDN,
Entry entry,
ModifyDnOperation modifyDNOperation) |
void |
ChangelogBackend.renameEntry(Dn currentDN,
Entry entry,
ModifyDnOperation modifyDNOperation) |
void |
BackupBackend.renameEntry(Dn currentDN,
Entry entry,
ModifyDnOperation modifyDNOperation) |
void |
TrustStoreBackend.replaceEntry(Entry oldEntry,
Entry newEntry,
ModifyOperation modifyOperation) |
void |
SchemaBackend.replaceEntry(Entry oldEntry,
Entry newEntry,
ModifyOperation modifyOperation) |
void |
RootDSEBackend.replaceEntry(Entry oldEntry,
Entry newEntry,
ModifyOperation modifyOperation) |
void |
NullBackend.replaceEntry(Entry oldEntry,
Entry newEntry,
ModifyOperation modifyOperation) |
void |
MonitorBackend.replaceEntry(Entry oldEntry,
Entry newEntry,
ModifyOperation modifyOperation) |
void |
MemoryBackend.replaceEntry(Entry oldEntry,
Entry newEntry,
ModifyOperation modifyOperation) |
void |
LDIFBackend.replaceEntry(Entry oldEntry,
Entry newEntry,
ModifyOperation modifyOperation) |
void |
ConfigurationBackend.replaceEntry(Entry oldEntry,
Entry newEntry,
ModifyOperation modifyOperation) |
void |
ChangelogBackend.replaceEntry(Entry oldEntry,
Entry newEntry,
ModifyOperation modifyOperation) |
void |
BackupBackend.replaceEntry(Entry oldEntry,
Entry newEntry,
ModifyOperation modifyOperation) |
Modifier and Type | Method and Description |
---|---|
Entry |
BackendImpl.getEntry(Dn entryDN) |
Modifier and Type | Method and Description |
---|---|
void |
BackendImpl.addEntry(Entry entry,
AddOperation addOperation) |
void |
BackendImpl.renameEntry(Dn currentDN,
Entry entry,
ModifyDnOperation modifyDNOperation) |
void |
BackendImpl.replaceEntry(Entry oldEntry,
Entry newEntry,
ModifyOperation modifyOperation) |
Modifier and Type | Method and Description |
---|---|
Entry |
TaskBackend.getEntry(Dn entryDN) |
Entry |
RecurringTask.getRecurringTaskEntry()
Retrieves the entry containing the data for this recurring task.
|
Entry |
TaskScheduler.getRecurringTaskEntry(Dn recurringTaskEntryDN)
Retrieves the recurring task entry with the provided DN.
|
Entry |
TaskScheduler.getRecurringTaskParentEntry()
Retrieves the entry that is the immediate parent for all recurring task entries in the task backend.
|
Entry |
TaskScheduler.getScheduledTaskEntry(Dn scheduledTaskEntryDN)
Retrieves the scheduled task entry with the provided DN.
|
Entry |
TaskScheduler.getScheduledTaskParentEntry()
Retrieves the entry that is the immediate parent for all scheduled task entries in the task backend.
|
Entry |
Task.getTaskEntry()
Retrieves the entry containing the definition for this task.
|
Entry |
TaskScheduler.getTaskRootEntry()
Retrieves the root entry that is the common ancestor for all entries in the task backend.
|
Modifier and Type | Method and Description |
---|---|
void |
TaskBackend.addEntry(Entry entry,
AddOperation addOperation) |
RecurringTask |
TaskScheduler.entryToRecurringTask(Entry entry)
Decodes the contents of the provided entry as a recurring task.
|
Task |
TaskScheduler.entryToScheduledTask(Entry entry,
Operation operation)
Decodes the contents of the provided entry as a scheduled task.
|
void |
Task.initializeTaskInternal(ServerContext serverContext,
TaskScheduler taskScheduler,
Entry taskEntry)
Performs generic initialization for this task based on the information in the provided task entry.
|
void |
TaskBackend.renameEntry(Dn currentDN,
Entry entry,
ModifyDnOperation modifyDNOperation) |
void |
TaskBackend.replaceEntry(Entry oldEntry,
Entry newEntry,
ModifyOperation modifyOperation) |
Constructor and Description |
---|
RecurringTask(ServerContext serverContext,
TaskScheduler taskScheduler,
Entry recurringTaskEntry)
Creates a new recurring task based on the information in the provided entry.
|
Modifier and Type | Method and Description |
---|---|
Entry |
ConfigurationHandler.getEntry(Dn dn) |
Entry |
ConfigurationHandler.getRootEntry()
Returns the configuration root entry.
|
Modifier and Type | Method and Description |
---|---|
void |
ConfigurationHandler.addEntry(Entry entry)
Add a configuration entry.
|
void |
ConfigurationHandler.replaceEntry(Entry oldEntry,
Entry newEntry)
Replaces the old configuration entry with the new configuration entry provided.
|
Modifier and Type | Method and Description |
---|---|
static Entry |
DirectoryServer.getConfigEntry(Dn entryDN)
Deprecated.
use
DirectoryServer.getEntry(Dn) when possible |
Entry |
ModifyOperation.getCurrentEntry()
Retrieves the current entry before any modifications are applied.
|
Entry |
AddOperation.getEntry() |
static Entry |
DirectoryServer.getEntry(Dn entryDN)
Retrieves the entry with the requested DN.
|
Entry |
AddOperation.getEntryToAdd()
Retrieves the entry to be added to the server.
|
Entry |
CompareOperation.getEntryToCompare()
Retrieves the entry to target with the compare operation.
|
Entry |
DeleteOperation.getEntryToDelete()
Retrieves the entry to be deleted.
|
Entry |
ModifyOperation.getModifiedEntry()
Retrieves the modified entry that is to be written to the backend.
|
Entry |
ModifyDnOperation.getOriginalEntry()
Retrieves the current entry, before it is renamed.
|
static Entry |
DirectoryServer.getParentEntry(Dn childDn)
Retrieves the entry that is the immediate parent of the entry having the provided DN.
|
Entry |
BindOperation.getSASLAuthUserEntry()
Retrieves the user entry associated with the SASL authentication attempt.
|
Entry |
ModifyDnOperation.getUpdatedEntry()
Retrieves the new entry, as it will appear after it is renamed.
|
Modifier and Type | Method and Description |
---|---|
PasswordPolicyState |
PasswordPolicy.createAuthenticationPolicyState(Entry userEntry,
long time) |
void |
PasswordPolicyState.generateAccountStatusNotification(AccountStatusNotificationType notificationType,
Entry userEntry,
LocalizableMessage message,
Map<AccountStatusNotificationProperty,List<String>> notificationProperties)
Generates an account status notification for this user.
|
List<SubEntry> |
SubentryManager.getCollectiveSubentries(Entry entry)
Return collective subentries applicable to specific entry.
|
List<SubEntry> |
SubentryManager.getSubentries(Entry entry)
Return subentries applicable to specific entry.
|
static Iterable<VirtualAttributeRule> |
DirectoryServer.getVirtualAttributes(Entry entry)
Retrieves the set of virtual attribute rules registered with the Directory Server that are applicable to the
provided entry.
|
PluginResult.ImportLDIF |
PluginConfigManager.invokeLDIFExportPlugins(LDIFExportConfig exportConfig,
Entry entry)
Invokes the set of LDIF export plugins that have been configured in the Directory Server.
|
PluginResult.ImportLDIF |
PluginConfigManager.invokeLDIFImportPlugins(LDIFImportConfig importConfig,
Entry entry)
Invokes the set of LDIF import plugins that have been configured in the Directory Server.
|
PluginResult.SubordinateDelete |
PluginConfigManager.invokeSubordinateDeletePlugins(DeleteOperation deleteOperation,
Entry entry)
Invokes the set of subordinate delete plugins that have been configured in the Directory Server.
|
PluginResult.SubordinateModifyDN |
PluginConfigManager.invokeSubordinateModifyDNPlugins(SubordinateModifyDNOperation modifyDNOperation,
Entry oldEntry,
Entry newEntry,
List<Modification> modifications)
Invokes the set of subordinate modify DN plugins that have been configured in the Directory Server.
|
boolean |
PasswordPolicyState.passwordIsAcceptable(Operation operation,
Entry userEntry,
ByteString newPassword,
Set<ByteString> currentPasswords,
LocalizableMessageBuilder invalidReason)
Indicates whether the provided password appears to be acceptable according to the password validators.
|
boolean |
PasswordPolicyState.passwordMatches(ByteString password,
Entry entry)
Returns
true if the provided password value matches any of the user's passwords in the given entry. |
void |
PersistentSearch.processAdd(Entry entry)
Notifies the persistent searches that an entry has been added.
|
void |
PersistentSearch.processDelete(Entry entry)
Notifies the persistent searches that an entry has been deleted.
|
void |
PersistentSearch.processModify(Entry entry,
Entry oldEntry)
Notifies persistent searches that an entry has been modified.
|
void |
PersistentSearch.processModifyDN(Entry entry,
Dn oldDN)
Notifies the persistent searches that an entry has been renamed.
|
boolean |
SearchOperation.returnEntry(Entry entry,
List<Control> controls)
Used as a callback for backends to indicate that the provided entry matches the search criteria and that
additional processing should be performed to potentially send it back to the client.
|
void |
BindOperation.setSASLAuthUserEntry(Entry saslAuthUserEntry)
Specifies the user entry associated with the SASL authentication attempt.
|
Modifier and Type | Method and Description |
---|---|
Entry |
SoftReferenceEntryCache.getEntry(Dn entryDN) |
Entry |
FIFOEntryCache.getEntry(Dn entryDN) |
Entry |
DefaultEntryCache.getEntry(Dn entryDN) |
Entry |
DefaultEntryCache.getEntry(String backendID,
long entryID) |
Entry |
RegularExpressionIdentityMapper.getEntryForID(String id) |
Entry |
ExactMatchIdentityMapper.getEntryForID(String id)
Retrieves the user entry that was mapped to the provided identification string.
|
Entry |
SubjectEqualsDNCertificateMapper.mapCertificateToUser0(Certificate[] certificateChain)
Establishes a mapping between the information in the provided certificate chain to the DN of a single user in the
Directory Server.
|
protected Entry |
SubjectDNToUserAttributeCertificateMapper.mapCertificateToUser0(Certificate[] certificateChain) |
protected Entry |
SubjectAttributeToUserAttributeCertificateMapper.mapCertificateToUser0(Certificate[] certificateChain) |
protected Entry |
FingerprintCertificateMapper.mapCertificateToUser0(Certificate[] certificateChain) |
Entry |
SimpleStaticGroupMemberList.nextMemberEntry() |
Entry |
FilteredStaticGroupMemberList.nextMemberEntry() |
Modifier and Type | Method and Description |
---|---|
ByteString |
RandomPasswordGenerator.generatePassword(Entry userEntry)
Generates a password for the user whose account is contained in the specified entry.
|
Attribute |
UserDefinedVirtualAttributeProvider.getAttribute(Entry entry,
AttributeDescription attrDesc) |
Attribute |
SubschemaSubentryVirtualAttributeProvider.getAttribute(Entry entry,
AttributeDescription attributeDescription) |
Attribute |
StructuralObjectClassVirtualAttributeProvider.getAttribute(Entry entry,
AttributeDescription attributeDescription) |
Attribute |
PasswordPolicySubentryVirtualAttributeProvider.getAttribute(Entry entry,
AttributeDescription attributeDescription) |
Attribute |
PasswordExpirationTimeVirtualAttributeProvider.getAttribute(Entry entry,
AttributeDescription attributeDescription) |
Attribute |
NumSubordinatesVirtualAttributeProvider.getAttribute(Entry entry,
AttributeDescription attributeDescription) |
Attribute |
MemberVirtualAttributeProvider.getAttribute(Entry entry,
AttributeDescription attributeDescription) |
Attribute |
IsMemberOfVirtualAttributeProvider.getAttribute(Entry entry,
AttributeDescription attributeDescription) |
Attribute |
HasSubordinatesVirtualAttributeProvider.getAttribute(Entry entry,
AttributeDescription attributeDescription) |
Attribute |
GoverningStructureRuleVirtualAttributeProvider.getAttribute(Entry entry,
AttributeDescription attributeDescription) |
Attribute |
EntryUUIDVirtualAttributeProvider.getAttribute(Entry entry,
AttributeDescription attributeDescription) |
Attribute |
EntryDNVirtualAttributeProvider.getAttribute(Entry entry,
AttributeDescription attributeDescription) |
Attribute |
EntityTagVirtualAttributeProvider.getAttribute(Entry entry,
AttributeDescription attributeDescription) |
Attribute |
CollectiveAttributeSubentriesVirtualAttributeProvider.getAttribute(Entry entry,
AttributeDescription attributeDescription) |
boolean |
VirtualStaticGroup.isGroupDefinition(Entry entry) |
boolean |
StaticGroup.isGroupDefinition(Entry entry) |
boolean |
DynamicGroup.isGroupDefinition(Entry entry) |
boolean |
VirtualStaticGroup.isMember(Entry userEntry,
AtomicReference<Set<Dn>> examinedGroups) |
boolean |
StaticGroup.isMember(Entry userEntry,
AtomicReference<Set<Dn>> examinedGroups) |
boolean |
DynamicGroup.isMember(Entry userEntry,
AtomicReference<Set<Dn>> examinedGroups) |
VirtualStaticGroup |
VirtualStaticGroup.newInstance(ServerContext serverContext,
Entry groupEntry) |
StaticGroup |
StaticGroup.newInstance(ServerContext serverContext,
Entry groupEntry) |
DynamicGroup |
DynamicGroup.newInstance(ServerContext serverContext,
Entry groupEntry) |
boolean |
UniqueCharactersPasswordValidator.passwordIsAcceptable(ByteString newPassword,
Set<ByteString> currentPasswords,
Operation operation,
Entry userEntry,
LocalizableMessageBuilder invalidReason) |
boolean |
SimilarityBasedPasswordValidator.passwordIsAcceptable(ByteString newPassword,
Set<ByteString> currentPasswords,
Operation operation,
Entry userEntry,
LocalizableMessageBuilder invalidReason) |
boolean |
RepeatedCharactersPasswordValidator.passwordIsAcceptable(ByteString newPassword,
Set<ByteString> currentPasswords,
Operation operation,
Entry userEntry,
LocalizableMessageBuilder invalidReason) |
boolean |
LengthBasedPasswordValidator.passwordIsAcceptable(ByteString newPassword,
Set<ByteString> currentPasswords,
Operation operation,
Entry userEntry,
LocalizableMessageBuilder invalidReason) |
boolean |
DictionaryPasswordValidator.passwordIsAcceptable(ByteString newPassword,
Set<ByteString> currentPasswords,
Operation operation,
Entry userEntry,
LocalizableMessageBuilder invalidReason) |
boolean |
CharacterSetPasswordValidator.passwordIsAcceptable(ByteString newPassword,
Set<ByteString> currentPasswords,
Operation operation,
Entry userEntry,
LocalizableMessageBuilder invalidReason) |
boolean |
AttributeValuePasswordValidator.passwordIsAcceptable(ByteString newPassword,
Set<ByteString> currentPasswords,
Operation operation,
Entry userEntry,
LocalizableMessageBuilder invalidReason) |
void |
SoftReferenceEntryCache.putEntry(Entry entry,
String backendID,
long entryID) |
void |
FIFOEntryCache.putEntry(Entry entry,
String backendID,
long entryID) |
void |
DefaultEntryCache.putEntry(Entry entry,
String backendID,
long entryID) |
boolean |
SoftReferenceEntryCache.putEntryIfAbsent(Entry entry,
String backendID,
long entryID) |
boolean |
FIFOEntryCache.putEntryIfAbsent(Entry entry,
String backendID,
long entryID) |
boolean |
DefaultEntryCache.putEntryIfAbsent(Entry entry,
String backendID,
long entryID) |
Modifier and Type | Method and Description |
---|---|
PluginResult.ImportLDIF |
SevenBitCleanPlugin.doLDIFImport(LDIFImportConfig importConfig,
Entry entry) |
PluginResult.ImportLDIF |
PasswordPolicyImportPlugin.doLDIFImport(LDIFImportConfig importConfig,
Entry entry) |
PluginResult.ImportLDIF |
EntryUUIDPlugin.doLDIFImport(LDIFImportConfig importConfig,
Entry entry) |
PluginResult.SubordinateDelete |
ReferentialIntegrityPlugin.processSubordinateDelete(DeleteOperation deleteOperation,
Entry entry) |
PluginResult.SubordinateModifyDN |
ReferentialIntegrityPlugin.processSubordinateModifyDN(SubordinateModifyDNOperation modifyDNOperation,
Entry oldEntry,
Entry newEntry,
List<Modification> modifications) |
Modifier and Type | Method and Description |
---|---|
Connection |
LDAPContext.InternalConnectionFactory.getAuthenticatedConnection(Entry userEntry)
Get a direct
Connection to this Directory Server. |
Modifier and Type | Method and Description |
---|---|
Entry |
AuthenticatedUserContext.getAuthenticatedUser()
Returns the LDAP entry which represents the authenticated user.
|
Constructor and Description |
---|
AuthenticatedUserContext(org.forgerock.services.context.Context parent,
Entry authenticatedUser)
Creates a new authenticated user context with the provided parent context and the provided LDAP entry.
|
Modifier and Type | Method and Description |
---|---|
PluginResult.ImportLDIF |
FractionalLDIFImportPlugin.doLDIFImport(LDIFImportConfig importConfig,
Entry entry)
See class comment for what we achieve here...
|
static CSN |
EntryHistorical.getCSN(Entry entry)
Returns the first CSN in the
ds-sync-hist attribute of the provided entry. |
static String |
EntryHistorical.getEntryUUID(Entry entry)
Get the entry unique Id in String form.
|
static EntryHistorical |
EntryHistorical.newInstanceFromEntry(Entry entry)
Construct an Historical object from the provided entry by reading the historical attribute.
|
Modification |
AttrHistoricalSingle.replayOperation(CSN csn,
Entry modifiedEntry,
Modification mod) |
Modification |
AttrHistoricalMultiple.replayOperation(CSN csn,
Entry modifiedEntry,
Modification m) |
abstract Modification |
AttrHistorical.replayOperation(CSN csn,
Entry modifiedEntry,
Modification mod)
This method will be called when replaying an operation.
|
Constructor and Description |
---|
AddMsg(CSN csn,
Entry entry,
String entryUuid,
String parentEntryUuid)
Creates a new AddMessage.
|
Modifier and Type | Method and Description |
---|---|
Entry |
ReplicationDomain.getMonitorEntry()
Returns the monitor entry for this replication domain.
|
Modifier and Type | Method and Description |
---|---|
void |
SchemaHandler.importEntry(Entry newSchemaEntry,
AlertGenerator alertGenerator)
Imports the provided schema entry in the schema.
|
Modifier and Type | Method and Description |
---|---|
static Map<String,Entry> |
TaskUtils.getBackendConfigEntries()
Get all the backend configuration entries defined in the server mapped by their backend ID.
|
Modifier and Type | Method and Description |
---|---|
static String |
TaskUtils.getBackendID(Entry configEntry)
Get the backend ID of a backend configuration entry.
|
Modifier and Type | Method and Description |
---|---|
void |
RestoreDb.addTaskAttributes(Entry taskEntry) |
void |
RebuildIndex.addTaskAttributes(Entry taskEntry) |
void |
ImportLdif.addTaskAttributes(Entry taskEntry) |
void |
ExportLdif.addTaskAttributes(Entry taskEntry) |
void |
BackUpDb.addTaskAttributes(Entry taskEntry) |
Modifier and Type | Method and Description |
---|---|
protected void |
TaskTool.addAttribute(Entry taskEntry,
String attrName,
com.forgerock.opendj.cli.Argument argument)
Adds the provided attribute with the argument value(s) to the provided task entry only if the argument has
been provided on the command line.
|
protected void |
TaskTool.addAttributeIfArgumentPresent(Entry taskEntry,
String attrName,
com.forgerock.opendj.cli.Argument argument)
Adds the attribute with the argument value to the task entry if the argument corresponding to the
attribute has been provided on the command line.
|
void |
TaskScheduleInformation.addTaskAttributes(Entry taskEntry)
Adds utility specific attributes to the provided task entry that is added to the task backend.
|
static void |
TaskClient.addTaskAttributes(TaskScheduleInformation information,
Entry taskEntry)
Adds attributes related to scheduling contained in the provided
TaskScheduleInformation in the provided
task entry. |
static String |
TaskClient.getTaskDn(Entry taskEntry)
Uses provided task entry attributes to create a DN for the provided task entry.
|
static String |
TaskClient.getTaskId(Entry taskEntry)
Returns the ID of the provided task entry.
|
Constructor and Description |
---|
TaskEntry(Entry entry)
Creates a parameterized instance.
|
Modifier and Type | Method and Description |
---|---|
Entry |
AuthenticationInfo.getAuthenticationEntry()
Retrieves the entry for the user as whom the client is authenticated.
|
Entry |
Operation.getAuthorizationEntry()
Retrieves the entry for the user that should be considered the authorization identity for this operation.
|
Entry |
AuthenticationInfo.getAuthorizationEntry()
Retrieves the entry for the user that should be used as the default authorization identity.
|
static Entry |
ProxyAuthHelper.getAuthorizationEntryFromControl(ProxiedAuthV1RequestControl proxiedAuthControl)
Retrieves the authorization entry for the provided proxied authorization V1 control.
|
static Entry |
ProxyAuthHelper.getAuthorizationEntryFromControl(ProxiedAuthV2RequestControl proxiedAuthControl)
Retrieves the authorization entry for this proxied authorization V2 control.
|
Entry |
SubEntry.getEntry()
Getter to retrieve the actual entry object for this subentry.
|
Entry |
CacheEntry.getEntry()
Retrieves the entry for this cache entry.
|
Entry |
AccountStatusNotification.getUserEntry()
Retrieves user entry for whom this notification applies.
|
abstract Entry |
MemberList.nextMemberEntry()
Retrieves the entry for the next group member.
|
static Entry |
Entries.processVirtualAttributes(Entry e)
Performs any necessary virtual attribute processing for this entry.
|
static Entry |
Entries.shallowCopyOfEntryWithoutVirtualAttributes(Entry e)
Returns a shallow copy of this entry, the attributes are shared between this entry and the returned entry.
|
Modifier and Type | Method and Description |
---|---|
protected static void |
Operation.addPostReadResponse(Operation operation,
PostReadRequestControl postReadRequest,
Entry entry)
Adds the post-read response control to the response if requested.
|
protected static void |
Operation.addPreReadResponse(Operation operation,
PreReadRequestControl preReadRequest,
Entry entry)
Adds the pre-read response control to the response if requested.
|
boolean |
VirtualAttributeRule.appliesToEntry(Entry entry)
Indicates whether this virtual attribute rule applies to the provided entry, taking into account the eligibility
requirements defined in the rule.
|
protected void |
Operation.checkAttributeConformsToSyntax(Entry entry,
Attribute attribute,
LocalizableMessageDescriptor.Arg4<Object,Object,Object,Object> invalidSyntaxErrorMsg,
LocalizableMessageDescriptor.Arg3<Object,Object,Object> invalidSyntaxNoValueErrorMsg,
LocalizableMessageDescriptor.Arg1<Object> rejectErrorMsg)
Checks whether an attribute's values conform to its syntax.
|
protected static LdapException |
Operation.createLdapException(Operation operation,
Entry entry,
Dn entryDN,
ResultCode resultCode,
LocalizableMessage message,
ResultCode altResultCode,
LocalizableMessage altMessage)
Returns a new
LdapException built from the provided resultCodes and messages. |
AuthenticationInfo |
AuthenticationInfo.duplicate(Entry newAuthenticationEntry,
Entry newAuthorizationEntry)
Creates a duplicate of this
AuthenticationInfo object with the new authentication and authorization
entries. |
Attribute |
VirtualAttributeRule.getAttribute(Entry entry)
Generates an attribute with the values for the provided entry.
|
Pair<Boolean,LocalizableMessage> |
LDIFImportConfig.includeEntry(Entry entry)
Indicates whether the specified entry should be included in the import based on the configured set of include and
exclude filters.
|
boolean |
LDIFExportConfig.includeEntry(Entry entry)
Indicates whether the specified entry should be included in the export based on the configured set of include and
exclude filters.
|
static AuthenticationInfo |
AuthenticationInfo.internal(Entry authenticationEntry)
Creates a new set of authentication information to be used for clients that are authenticated internally.
|
boolean |
SubtreeSpecification.isWithinScope(Entry entry)
Determine if an entry is within the scope of the subtree specification.
|
boolean |
SubtreeSpecification.FilterRefinement.matches(Entry entry) |
boolean |
LDAPURL.matchesEntry(Entry entry)
Indicates whether the provided entry matches the criteria defined in this LDAP URL.
|
static Entry |
Entries.processVirtualAttributes(Entry e)
Performs any necessary virtual attribute processing for this entry.
|
static AuthenticationInfo |
AuthenticationInfo.sasl(Entry authenticationEntry,
Entry authorizationEntry,
String saslMechanism)
Creates a new set of authentication information to be used for clients that have authenticated using a SASL
mechanism.
|
static AuthenticationInfo |
AuthenticationInfo.sasl(Entry authenticationEntry,
String saslMechanism)
Creates a new set of authentication information to be used for clients that have authenticated using a SASL
mechanism.
|
void |
Operation.setAuthorizationEntry(Entry authorizationEntry)
Provides the entry for the user that should be considered the authorization identity for this operation.
|
protected static void |
Operation.setResultCodeAndMessageNoInfoDisclosure(Operation operation,
Entry entry,
Dn entryDN,
ResultCode resultCode,
LocalizableMessage message,
ResultCode altResultCode,
LocalizableMessage altMessage)
Sets the provided resultCodes and messages on the provided operation.
|
static Entry |
Entries.shallowCopyOfEntryWithoutVirtualAttributes(Entry e)
Returns a shallow copy of this entry, the attributes are shared between this entry and the returned entry.
|
static AuthenticationInfo |
AuthenticationInfo.simple(Entry authenticationEntry)
Creates a new set of authentication information to be used for clients that have successfully performed simple
authentication.
|
Constructor and Description |
---|
AccountStatusNotification(AccountStatusNotificationType notificationType,
Entry userEntry,
LocalizableMessage message,
Map<AccountStatusNotificationProperty,List<String>> notificationProperties)
Creates a new account status notification object with the provided information.
|
CacheEntry(Entry entry,
String backendID,
long entryID)
Creates a new cache entry with the provided information.
|
SubEntry(Entry entry)
Constructs a subentry object from a given entry object.
|
Modifier and Type | Method and Description |
---|---|
Entry |
PreOperationModifyOperation.getCurrentEntry()
Retrieves the current entry before any modifications are applied.
|
Entry |
PostSynchronizationModifyOperation.getCurrentEntry()
Retrieves the current entry before any modifications are applied.
|
Entry |
PostResponseModifyOperation.getCurrentEntry()
Retrieves the current entry before any modifications are applied.
|
Entry |
PostOperationModifyOperation.getCurrentEntry()
Retrieves the current entry before any modifications are applied.
|
Entry |
PreOperationAddOperation.getEntry()
Deprecated.
this will be removed when add operation will be closer to an add request
|
Entry |
PostSynchronizationAddOperation.getEntry()
Deprecated.
this will be removed when add operation will be closer to an add request
|
Entry |
PostResponseAddOperation.getEntry()
Deprecated.
this will be removed when add operation will be closer to an add request
|
Entry |
PostOperationAddOperation.getEntry()
Deprecated.
this will be removed when add operation will be closer to an add request
|
Entry |
PreOperationAddOperation.getEntryToAdd()
Retrieves the entry to be added to the server.
|
Entry |
PostSynchronizationAddOperation.getEntryToAdd()
Retrieves the entry to be added to the server.
|
Entry |
PostResponseAddOperation.getEntryToAdd()
Retrieves the entry to be added to the server.
|
Entry |
PostOperationAddOperation.getEntryToAdd()
Retrieves the entry to be added to the server.
|
Entry |
PreOperationCompareOperation.getEntryToCompare()
Retrieves the entry to target with the compare operation.
|
Entry |
PostResponseCompareOperation.getEntryToCompare()
Retrieves the entry to target with the compare operation.
|
Entry |
PostOperationCompareOperation.getEntryToCompare()
Retrieves the entry to target with the compare operation.
|
Entry |
PreOperationDeleteOperation.getEntryToDelete()
Retrieves the entry to be deleted.
|
Entry |
PostSynchronizationDeleteOperation.getEntryToDelete()
Retrieves the entry to be deleted.
|
Entry |
PostResponseDeleteOperation.getEntryToDelete()
Retrieves the entry to be deleted.
|
Entry |
PostOperationDeleteOperation.getEntryToDelete()
Retrieves the entry to be deleted.
|
Entry |
PreOperationModifyOperation.getModifiedEntry()
Retrieves the modified entry that is to be written to the backend.
|
Entry |
PostSynchronizationModifyOperation.getModifiedEntry()
Retrieves the modified entry that is to be written to the backend.
|
Entry |
PostResponseModifyOperation.getModifiedEntry()
Retrieves the modified entry that is to be written to the backend.
|
Entry |
PostOperationModifyOperation.getModifiedEntry()
Retrieves the modified entry that is to be written to the backend.
|
Entry |
SubordinateModifyDNOperation.getOriginalEntry()
Retrieves the current entry, before it is renamed.
|
Entry |
PreOperationModifyDNOperation.getOriginalEntry()
Retrieves the current entry, before it is renamed.
|
Entry |
PostSynchronizationModifyDNOperation.getOriginalEntry()
Retrieves the current entry, before it is renamed.
|
Entry |
PostResponseModifyDNOperation.getOriginalEntry()
Retrieves the current entry, before it is renamed.
|
Entry |
PostOperationModifyDNOperation.getOriginalEntry()
Retrieves the current entry, before it is renamed.
|
Entry |
PostResponseBindOperation.getSASLAuthUserEntry()
Retrieves the user entry associated with the SASL authentication attempt.
|
Entry |
PostOperationBindOperation.getSASLAuthUserEntry()
Retrieves the user entry associated with the SASL authentication attempt.
|
Entry |
SubordinateModifyDNOperation.getUpdatedEntry()
Retrieves the new entry, as it will appear after it is renamed.
|
Entry |
PreOperationModifyDNOperation.getUpdatedEntry()
Retrieves the new entry, as it will appear after it is renamed.
|
Entry |
PostSynchronizationModifyDNOperation.getUpdatedEntry()
Retrieves the new entry, as it will appear after it is renamed.
|
Entry |
PostResponseModifyDNOperation.getUpdatedEntry()
Retrieves the new entry, as it will appear after it is renamed.
|
Entry |
PostOperationModifyDNOperation.getUpdatedEntry()
Retrieves the new entry, as it will appear after it is renamed.
|
Modifier and Type | Method and Description |
---|---|
boolean |
PreParseSearchOperation.returnEntry(Entry entry,
List<Control> controls)
Returns the provided entry to the client.
|
boolean |
PreOperationSearchOperation.returnEntry(Entry entry,
List<Control> controls)
Returns the provided entry to the client.
|
Modifier and Type | Method and Description |
---|---|
static Entry |
StaticUtils.addRdnAttributes(Entry entry)
Add the RDN attribute(s) to the provided entry.
|
static Entry |
StaticUtils.createEntry(Dn dn)
Creates a new, blank entry with the given DN.
|
protected Entry |
LDIFReader.createEntry(Dn entryDN,
List<StringBuilder> lines,
boolean checkSchema)
Parses the provided LDIF lines as an LDAP entry.
|
static Entry |
StaticUtils.createEntry(Dn dn,
Schema schema)
Creates a new, blank entry with the given DN.
|
Entry |
LDIFReader.readEntry()
Reads the next entry from the LDIF source.
|
Entry |
LDIFReader.readEntry(boolean checkSchema)
Reads the next entry from the LDIF source.
|
Modifier and Type | Method and Description |
---|---|
static void |
StaticUtils.addMissingSuperiorObjectClasses(Entry entry)
Add all of the superior objectclasses to the specified entry if they are not already present.
|
static Entry |
StaticUtils.addRdnAttributes(Entry entry)
Add the RDN attribute(s) to the provided entry.
|
void |
LDIFReader.rejectEntry(Entry e,
LocalizableMessage message)
Log the specified entry and messages in the reject writer.
|
void |
LDIFWriter.writeAddChangeRecord(Entry entry)
Writes an add change record for the provided entry.
|
void |
LDIFWriter.writeDeleteChangeRecord(Entry entry,
boolean commentEntry)
Writes a delete change record for the provided entry, optionally including a comment with the full entry
contents.
|
boolean |
LDIFWriter.writeEntry(Entry entry)
Writes the provided entry to LDIF.
|
Copyright 2010-2022 ForgeRock AS.