Package | Description |
---|---|
org.forgerock.opendj.adapter.server3x |
Classes for interacting with an embedded OpenDJ 2.x instance using the OpenDJ LDAP SDK.
|
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.controls |
Contains classes that represent specific LDAP controls and their values.
|
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.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 Entry |
Converters.to(Entry sdkEntry)
|
Modifier and Type | Method and Description |
---|---|
static Entry |
Converters.from(Entry srvResultEntry)
|
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 |
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,
SearchFilter 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.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 |
---|---|
int |
AciList.addAci(Entry entry,
boolean hasAci,
boolean hasGlobalAci,
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,
SearchFilter filter) |
boolean |
AciHandler.mayProxy(Entry proxyUser,
Entry proxiedUser,
Operation op) |
void |
AciList.modAciOldNewEntry(Entry oldEntry,
Entry newEntry,
boolean hasAci,
boolean hasGlobalAci)
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,
boolean hasAci,
boolean hasGlobalAci)
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) |
Entry |
RootDSEBackend.getRootDSE()
Retrieves the root DSE entry for the Directory Server.
|
Entry |
SchemaBackend.getSchemaEntry(Dn entryDN)
Generates and returns a schema entry for the Directory Server.
|
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 |
ProxiedAuthV2Control.getAuthorizationEntry()
Retrieves the authorization entry for this proxied authorization V2 control.
|
Entry |
ProxiedAuthV1Control.getAuthorizationEntry()
Retrieves the authorization entry for this proxied authorization V1 control.
|
Modifier and Type | Method and Description |
---|---|
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() |
Entry |
DynamicGroupMemberList.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 attributeDescription) |
Attribute |
SubschemaSubentryVirtualAttributeProvider.getAttribute(Entry entry,
AttributeDescription attributeDescription) |
Attribute |
StructuralObjectClassVirtualAttributeProvider.getAttribute(Entry entry,
AttributeDescription attrDesc) |
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 |
---|---|
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 | Class and Description |
---|---|
class |
SearchResultEntry
This class defines a data structure for storing information about an entry that matches a given set of search
criteria and should be returned to the client.
|
Modifier and Type | Method and Description |
---|---|
Entry |
Entry.addAttribute(String attributeDescription,
Object... values)
Ensures that this entry contains the provided attribute and values.
|
Entry |
Entry.clearAttributes()
Removes all the attributes from this entry (optional operation).
|
Entry |
Entry.filterEntry(Set<String> requiredAttrNames,
boolean omitValues,
boolean omitReal,
boolean omitVirtual)
Returns an entry containing only those attributes of this entry which match the provided criteria.
|
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.
|
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.
|
static Entry |
Entries.modifyEntry(Entry entry,
Modification change)
Applies the provided modification 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.
|
abstract Entry |
MemberList.nextMemberEntry()
Retrieves the entry for the next group member.
|
static Entry |
Entry.processVirtualAttributes(Entry e)
Performs any necessary virtual attribute processing for this entry.
|
static Entry |
Entry.shallowCopyOfEntry(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,
LDAPPostReadRequestControl postReadRequest,
Entry entry)
Adds the post-read response control to the response if requested.
|
protected static void |
Operation.addPreReadResponse(Operation operation,
LDAPPreReadRequestControl 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.
|
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.containsObjectClass(Entry entry,
ObjectClass objectClass)
Check if the provided entry contains the provided object class.
|
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.
|
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,
Schema schema)
Returns the structural object class associated with the provided entry, or
null if none was found. |
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.
|
static boolean |
Entries.isSubEntry(Entry entry)
Returns whether the provided entry is a sub entry.
|
boolean |
SubtreeSpecification.isWithinScope(Entry entry)
Determine if an entry is within the scope of the subtree specification.
|
boolean |
SubtreeSpecification.FilterRefinement.matches(Entry entry) |
boolean |
SearchFilter.matchesEntry(Entry entry)
Indicates whether this search filter matches the provided entry.
|
boolean |
LDAPURL.matchesEntry(Entry entry)
Indicates whether the provided entry matches the criteria defined in this LDAP URL.
|
static Entry |
Entries.modifyEntry(Entry entry,
Modification change)
Applies the provided modification 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 |
Entry.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 |
Entry.shallowCopyOfEntry(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.
|
Entry(Entry entry)
Creates a new entry from the provided entry.
|
SearchResultEntry(Entry entry)
Creates a new search result entry based on the provided entry.
|
SearchResultEntry(Entry entry,
List<Control> controls)
Creates a new search result entry based on the provided entry.
|
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.
|
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.
|
Modifier and Type | Method and Description |
---|---|
boolean |
LDIFWriter.writeEntries(Collection<Entry> entries)
Iterates over each entry contained in the map and writes out the entry in LDIF format.
|
Copyright 2010-2018 ForgeRock AS.