Uses of Interface
org.forgerock.opendj.ldap.Entry
-
Packages that use Entry 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 core server APIs.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.authorization.policy Contains the policy based 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.crypto This package implements the Directory Server cryptographic framework, which is described in the CrytpoManager design document.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.tools Contains various Directory Server tool implementations.org.opends.server.tools.dsbackup Classes related to dsbackup tool.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. -
-
Uses of Entry in org.forgerock.opendj.config.server.spi
Methods in org.forgerock.opendj.config.server.spi that return Entry Modifier and Type Method Description Entry
ConfigurationRepository. getEntry(Dn dn)
Returns the configuration entry for the provided DN.Methods in org.forgerock.opendj.config.server.spi with parameters of type Entry Modifier and Type Method 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. -
Uses of Entry in org.forgerock.opendj.io
Methods in org.forgerock.opendj.io that return Entry Modifier and Type Method Description static Entry
Ldap. readEntry(Asn1Reader reader, DecodeOptions options)
Reads the next ASN.1 element from the providedASN1Reader
as anEntry
.Methods in org.forgerock.opendj.io with parameters of type Entry Modifier and Type Method Description static void
Ldap. writeEntry(Asn1Writer writer, Entry entry)
Writes anEntry
to the providedAsn1Writer
. -
Uses of Entry in org.forgerock.opendj.ldap
Classes in org.forgerock.opendj.ldap that implement Entry Modifier and Type Class Description class
AbstractEntry
This class provides a skeletal implementation of theEntry
interface, to minimize the effort required to implement this interface.class
AbstractMapEntry<M extends Map<AttributeDescription,Attribute>>
Abstract implementation forMap
based entries.static class
Entries.NullEntry
AnEntry
which implements the null object pattern.class
LinkedHashMapEntry
An implementation of theEntry
interface which uses aLinkedHashMap
for storing attributes.class
TreeMapEntry
An implementation of theEntry
interface which uses aTreeMap
for storing attributes.Methods in org.forgerock.opendj.ldap that return Entry Modifier and Type Method Description default Entry
Entry. addAttribute(String attributeDescription, Object... values)
Ensures that this entry contains the provided attribute and values (optional operation).Entry
AbstractMapEntry. clearAttributes()
Entry
Entries.NullEntry. clearAttributes()
default Entry
Entry. clearAttributes()
Removes all the attributes from this entry (optional operation).static Entry
Entries. copyOnWriteEntry(Entry entry, Function<Entry,Entry> copyConstructor)
Returns a shallow copy-on-write view ofentry
.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(String dn)
Returns a deep copy of the named entry contained in this memory backend, ornull
if it does not exist.Entry
MemoryBackend. get(Dn dn)
Returns a deep copy of the named entry contained in this memory backend, ornull
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, ModifyRequest changes)
Applies the provided modification request to an entry.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. 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()
Returns a read-only empty entry having the empty distinguished name.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 invalues
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 invalues
to this entry, replacing any existing attribute values (optional operation).Entry
AbstractMapEntry. setName(Dn dn)
Entry
Entries.NullEntry. setName(Dn dn)
default Entry
Entry. setName(String dn)
Sets the distinguished name of this entry (optional operation).default Entry
Entry. setName(Dn dn)
Sets the distinguished name of this entry (optional operation).static Entry
Entries. unmodifiableEntry(Entry entry)
Returns a read-only view ofentry
and its attributes.Methods in org.forgerock.opendj.ldap that return types with arguments of type Entry Modifier and Type Method Description Comparator<Entry>
SortKey. comparator()
Returns aComparator
which can be used to compare entries using this sort key.static Comparator<Entry>
SortKey. comparator(String sortKeys)
Returns aComparator
which can be used to compare entries using the provided string representation of a list of sort keys.static Comparator<Entry>
SortKey. comparator(Collection<SortKey> keys)
Returns aComparator
which can be used to compare entries using the provided list of sort keys.Comparator<Entry>
SortKey. comparator(Schema schema)
Returns aComparator
which can be used to compare entries using this sort key.static Comparator<Entry>
SortKey. comparator(Schema schema, Collection<SortKey> keys)
Returns aComparator
which can be used to compare entries using the provided list of sort keys.static Comparator<Entry>
SortKey. comparator(Schema schema, SortKey... keys)
Returns aComparator
which can be used to compare entries using the provided list of sort keys.static Comparator<Entry>
SortKey. comparator(SortKey... keys)
Returns aComparator
which can be used to compare entries using the provided list of sort keys.static Comparator<Entry>
Entries. compareByName()
Returns aComparator
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 newEntry
instances when decoding entries.static List<Entry>
Entries. makeEntries(String... ldifLines)
Builds a list of entries from the provided lines of LDIF.Methods in org.forgerock.opendj.ldap with parameters of type Entry Modifier and Type Method Description Result
AbstractConnection. add(Entry entry)
Result
AbstractConnectionWrapper. add(Entry entry)
Adds the provided entry to the Directory Server.Result
Connection. add(Entry entry)
Adds the provided entry to the Directory Server.static boolean
Entries. conformsToSchema(Entry entry, SchemaValidationPolicy policy, Collection<LocalizableMessage> errorMessages)
Returnstrue
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)
Returnstrue
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 ofentry
.static LinkedHashMapEntry
LinkedHashMapEntry. deepCopyOfEntry(Entry entry)
Creates an entry having the same distinguished name, attributes, and object classes of the provided entry.static TreeMapEntry
TreeMapEntry. 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 transformfromEntry
into entrytoEntry
.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 transformfromEntry
into entrytoEntry
.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, ornull
if none was found.static ObjectClass
Entries. getStructuralObjectClass(Entry entry, Schema schema)
Returns the structural object class associated with the provided entry, ornull
if none was found.static boolean
Entries. isSubEntry(Entry entry)
Returns whether the provided entry is a sub entry.ConditionResult
Filter. matches(Entry entry)
Indicates whether thisFilter
matches the providedEntry
using the default schema.ConditionResult
Matcher. matches(Entry entry)
Indicates whether this filterMatcher
matches the providedEntry
.static Entry
Entries. modifyEntry(Entry entry, ModifyRequest changes)
Applies the provided modification request to an entry.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. 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 LinkedHashMapEntry
LinkedHashMapEntry. shallowCopyOfEntry(Entry entry)
Creates an entry having the same distinguished name, attributes, and object classes of the provided entry.static TreeMapEntry
TreeMapEntry. 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 ofentry
.static Entry
Entries. unmodifiableEntry(Entry entry)
Returns a read-only view ofentry
and its attributes.static RootDse
RootDse. valueOf(Entry entry)
Creates a new Root DSE instance backed by the provided entry.Method parameters in org.forgerock.opendj.ldap with type arguments of type Entry Modifier and Type Method Description static Entry
Entries. copyOnWriteEntry(Entry entry, Function<Entry,Entry> copyConstructor)
Returns a shallow copy-on-write view ofentry
.static Entry
Entries. copyOnWriteEntry(Entry entry, Function<Entry,Entry> copyConstructor)
Returns a shallow copy-on-write view ofentry
.DecodeOptions
DecodeOptions. setEntryFactory(Function<Dn,Entry> factory)
Sets the function which will be used for creating newEntry
instances when decoding entries. -
Uses of Entry in org.forgerock.opendj.ldap.controls
Methods in org.forgerock.opendj.ldap.controls that return Entry Modifier and Type Method Description Entry
PostReadResponseControl. getEntry()
Returns an unmodifiable entry whose contents reflect the state of the updated entry immediately after the update operation was performed.Entry
PreReadResponseControl. getEntry()
Returns an unmodifiable entry whose contents reflect the state of the updated entry immediately before the update operation was performed.Methods in org.forgerock.opendj.ldap.controls with parameters of type Entry Modifier and Type Method Description static PostReadResponseControl
PostReadResponseControl. newControl(Entry entry)
Creates a new post-read response control.static PreReadResponseControl
PreReadResponseControl. newControl(Entry entry)
Creates a new pre-read response control. -
Uses of Entry in org.forgerock.opendj.ldap.messages
Subinterfaces of Entry in org.forgerock.opendj.ldap.messages Modifier and Type Interface 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.Methods in org.forgerock.opendj.ldap.messages with parameters of type Entry Modifier and Type Method 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 transformfromEntry
into entrytoEntry
.static SearchResultEntry
Responses. newSearchResultEntry(Entry entry)
Creates a new search result entry backed by the provided entry. -
Uses of Entry in org.forgerock.opendj.ldap.schema
Methods in org.forgerock.opendj.ldap.schema that return Entry Modifier and Type Method Description Entry
Schema. toEntry(Entry entry)
Adds the definitions of all the schema elements contained in this schema to the provided subschema subentry.Methods in org.forgerock.opendj.ldap.schema that return types with arguments of type Entry Modifier and Type Method 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.Methods in org.forgerock.opendj.ldap.schema with parameters of type Entry Modifier and Type Method 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)
Returnstrue
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.Method parameters in org.forgerock.opendj.ldap.schema with type arguments of type Entry Modifier and Type Method 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.Constructors in org.forgerock.opendj.ldap.schema with parameters of type Entry Constructor Description SchemaBuilder(Entry entry)
Creates a new schema builder containing all of the schema elements contained in the provided subschema subentry. -
Uses of Entry in org.forgerock.opendj.ldif
Methods in org.forgerock.opendj.ldif that return Entry Modifier and Type Method 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(String... ldifLines)
Builds an entry from the provided lines of LDIF.static Entry
Ldif. makeEntry(List<String> ldifLines)
Builds an entry from the provided lines of LDIF.Entry
EntryGenerator. readEntry()
Entry
EntryReader. readEntry()
Reads the next entry, blocking if necessary until an entry is available.Entry
LdifEntryReader. readEntry()
Reads the next entry, blocking if necessary until an entry is available.Methods in org.forgerock.opendj.ldif that return types with arguments of type Entry Modifier and Type Method Description static List<Entry>
Ldif. makeEntries(String... ldifLines)
Builds a list of entries from the provided lines of LDIF.static List<Entry>
Ldif. makeEntries(List<String> ldifLines)
Builds a list of entries from the provided lines of LDIF.static Flowable<Entry>
Ldif. newEntryPublisher(Supplier<? extends EntryReader> factory)
Returns aFlowable
view of aEntryReader
, creating a new reader for each subscriber.Methods in org.forgerock.opendj.ldif with parameters of type Entry Modifier and Type Method 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 ofentry
.static String
LdifEntryWriter. toString(Entry entry)
Returns the LDIF string representation of the provided entry.ConnectionEntryWriter
ConnectionEntryWriter. writeEntry(Entry entry)
Writes an entry to the underlying connection using an Add request, blocking until the request completes.EntryWriter
EntryWriter. writeEntry(Entry entry)
Writes an entry.LdifEntryWriter
LdifEntryWriter. writeEntry(Entry entry)
Method parameters in org.forgerock.opendj.ldif with type arguments of type Entry Modifier and Type Method 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. -
Uses of Entry in org.forgerock.opendj.server.core
Methods in org.forgerock.opendj.server.core that return Entry Modifier and Type Method Description Entry
RequestContext. getEntryAsAddedByServer()
Returns the entry as added by the server, with all additional operational attributes.Methods in org.forgerock.opendj.server.core with parameters of type Entry Modifier and Type Method Description void
RequestContext. setEntryAsAddedByServer(Entry entryAsAddedByServer)
Sets the entry added as added by the server in the DIT. -
Uses of Entry in org.opends.server.api
Fields in org.opends.server.api declared as Entry Modifier and Type Field Description protected Entry
AuthenticationPolicyState. userEntry
The user entry associated with this authentication policy state.Methods in org.opends.server.api that return Entry Modifier and Type Method Description abstract Entry
LocalBackend. getEntry(Dn entryDN)
Retrieves the requested entry from this backend.protected abstract Entry
IdentityMapper. getEntryForID(String id)
Retrieves the user entry that was mapped to the provided identification string.static Entry
IdentityMapper. getEntryForID(String id, List<IdentityMapper<?>> identityMappers)
Retrieves the user entry that was mapped to the provided identification string from a list ofIdentityMapper
s.Entry
MonitorProvider. getMonitorEntry(Schema schema)
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.Methods in org.opends.server.api that return types with arguments of type Entry Modifier and Type Method Description Flowable<Entry>
Group. getAllMembers(Dn baseDN, SearchScope scope, Filter filter)
Retrieves an iterator that may be used to cursor through the entries of the members contained in this group, or its nested groups.Methods in org.opends.server.api with parameters of type Entry Modifier and Type Method 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, ServerContext serverContext)
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 AuthenticationPolicy
AuthenticationPolicy. forUser(Entry userEntry, boolean useDefaultOnError)
Returns the authentication policy for the user provided user.static AuthenticationPolicy
AuthenticationPolicy. forUser(Entry userEntry, boolean useDefaultOnError, Consumer<LocalizableMessage> onMultiplePasswordPolicies)
Returns the authentication policy for the user provided user.static AuthenticationPolicyState
AuthenticationPolicyState. forUser(Entry userEntry, boolean useDefaultOnError)
Returns the authentication policy state for the user provided user.static AuthenticationPolicyState
AuthenticationPolicyState. forUser(Entry userEntry, boolean useDefaultOnError, Consumer<LocalizableMessage> onMultiplePasswordPolicies)
Returns the authentication policy state 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, ServerContext serverContext)
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.default boolean
Group. isMember(Entry userEntry)
Indicates whether the user described by the provided user entry is a member of this group.boolean
Group. isMember(Entry userEntry, Group.ExaminedGroups 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, ServerContext serverContext)
Indicates if the specified proxy user entry can proxy, or act on the behalf of the specified proxied user 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
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.Method parameters in org.opends.server.api with type arguments of type Entry Modifier and Type Method Description void
LocalBackend. sampleEntries(Consumer<Entry> consumer, Dn baseDn)
Consumes all or a subset of entries contained in this backend under the provided base DN.Constructors in org.opends.server.api with parameters of type Entry Constructor Description AuthenticationPolicyState(Entry userEntry)
Creates a new abstract authentication policy context. -
Uses of Entry in org.opends.server.api.plugin
Methods in org.opends.server.api.plugin with parameters of type Entry Modifier and Type Method Description 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. -
Uses of Entry in org.opends.server.authorization.dseecompat
Methods in org.opends.server.authorization.dseecompat that return Entry Modifier and Type Method Description Entry
AciEvalContext. getClientEntry()
Get the client entry.Entry
AciEvalContext. getResourceEntry()
Return the entry being evaluated .Entry
AciTargetMatchContext. getResourceEntry()
Get the entry being evaluated.Methods in org.opends.server.authorization.dseecompat with parameters of type Entry Modifier and Type Method 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, org.opends.server.authorization.dseecompat.AciLDAPOperationContainer container, Entry e, boolean skipCheck, Schema schema)
Attempts to add the geteffectiverights asked for in the search to the entry being returned.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, ServerContext serverContext)
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.void
AciList. removeAci(Entry entry)
Remove global and regular ACIs from the list.Method parameters in org.opends.server.authorization.dseecompat with type arguments of type Entry Modifier and Type Method Description int
AciList. addAci(List<? extends Entry> entries, LinkedList<LocalizableMessage> failedACIMsgs)
Add all the ACI from a set of entries to the ACI list. -
Uses of Entry in org.opends.server.authorization.policy
Methods in org.opends.server.authorization.policy with parameters of type Entry Modifier and Type Method Description boolean
PolicyBasedAccessControlHandler. canDiscloseInformation(Entry entry, Dn entryDN, Operation operation)
boolean
PolicyBasedAccessControlHandler. isAllowed(Operation operation, Entry entry, Filter filter)
boolean
PolicyBasedAccessControlHandler. mayProxy(Entry proxyUser, Entry proxiedUser, Operation operation, ServerContext serverContext)
-
Uses of Entry in org.opends.server.backends
Methods in org.opends.server.backends that return Entry Modifier and Type Method Description Entry
ChangelogBackend. getEntry(Dn entryDN)
Entry
ConfigurationBackend. getEntry(Dn entryDN)
Entry
LDIFBackend. getEntry(Dn entryDN)
Entry
MemoryBackend. getEntry(Dn entryDN)
Entry
MonitorBackend. getEntry(Dn entryDN)
Entry
NullBackend. getEntry(Dn entryDn)
Entry
RootDSEBackend. getEntry(Dn entryDN)
Entry
SchemaBackend. getEntry(Dn entryDN)
Methods in org.opends.server.backends with parameters of type Entry Modifier and Type Method Description void
ChangelogBackend. addEntry(Entry entry, AddOperation addOperation)
void
ConfigurationBackend. addEntry(Entry entry, AddOperation addOperation)
void
LDIFBackend. addEntry(Entry entry, AddOperation addOperation)
void
MemoryBackend. addEntry(Entry entry, AddOperation addOperation)
void
MonitorBackend. addEntry(Entry entry, AddOperation addOperation)
void
NullBackend. addEntry(Entry entry, AddOperation addOperation)
void
RootDSEBackend. addEntry(Entry entry, AddOperation addOperation)
void
SchemaBackend. addEntry(Entry entry, AddOperation addOperation)
void
ChangelogBackend. renameEntry(Dn currentDN, Entry entry, ModifyDnOperation modifyDNOperation)
void
ConfigurationBackend. renameEntry(Dn currentDN, Entry entry, ModifyDnOperation modifyDNOperation)
void
LDIFBackend. renameEntry(Dn currentDN, Entry entry, ModifyDnOperation modifyDNOperation)
void
MemoryBackend. renameEntry(Dn currentDN, Entry entry, ModifyDnOperation modifyDNOperation)
void
MonitorBackend. renameEntry(Dn currentDN, Entry entry, ModifyDnOperation modifyDNOperation)
void
NullBackend. renameEntry(Dn currentDN, Entry entry, ModifyDnOperation modifyDNOperation)
void
RootDSEBackend. renameEntry(Dn currentDN, Entry entry, ModifyDnOperation modifyDNOperation)
void
SchemaBackend. renameEntry(Dn currentDN, Entry entry, ModifyDnOperation modifyDNOperation)
void
ChangelogBackend. replaceEntry(Entry oldEntry, Entry newEntry, ModifyOperation modifyOperation)
void
ConfigurationBackend. replaceEntry(Entry oldEntry, Entry newEntry, ModifyOperation modifyOperation)
void
LDIFBackend. replaceEntry(Entry oldEntry, Entry newEntry, ModifyOperation modifyOperation)
void
MemoryBackend. replaceEntry(Entry oldEntry, Entry newEntry, ModifyOperation modifyOperation)
void
MonitorBackend. replaceEntry(Entry oldEntry, Entry newEntry, ModifyOperation modifyOperation)
void
NullBackend. replaceEntry(Entry oldEntry, Entry newEntry, ModifyOperation modifyOperation)
void
RootDSEBackend. replaceEntry(Entry oldEntry, Entry newEntry, ModifyOperation modifyOperation)
void
SchemaBackend. replaceEntry(Entry oldEntry, Entry newEntry, ModifyOperation modifyOperation)
Method parameters in org.opends.server.backends with type arguments of type Entry Modifier and Type Method Description void
LDIFBackend. sampleEntries(Consumer<Entry> consumer, Dn baseDn)
-
Uses of Entry in org.opends.server.backends.pluggable
Methods in org.opends.server.backends.pluggable that return Entry Modifier and Type Method Description Entry
BackendImpl. getEntry(Dn entryDN)
Methods in org.opends.server.backends.pluggable with parameters of type Entry Modifier and Type Method 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)
Method parameters in org.opends.server.backends.pluggable with type arguments of type Entry Modifier and Type Method Description void
BackendImpl. sampleEntries(Consumer<Entry> consumer, Dn baseDn)
-
Uses of Entry in org.opends.server.backends.task
Methods in org.opends.server.backends.task that return Entry Modifier and Type Method 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 unmodifiable 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.Methods in org.opends.server.backends.task with parameters of type Entry Modifier and Type Method Description void
TaskBackend. addEntry(Entry entry, AddOperation addOperation)
void
TaskScheduler. addRecurringTask(Entry recurringTask)
Adds a recurring task to the scheduler, optionally scheduling the first iteration for processing.Task
TaskScheduler. entryToScheduledTask(Entry entry, Operation operation)
Decodes the contents of the provided entry as a scheduled task.protected void
Task. initializeTask(Entry taskEntry)
Performs any task-specific initialization that may be required before processing can start.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)
Constructors in org.opends.server.backends.task with parameters of type Entry Constructor Description RecurringTask(ServerContext serverContext, TaskScheduler taskScheduler, Entry recurringTaskEntry)
Creates a new recurring task based on the information in the provided entry. -
Uses of Entry in org.opends.server.config
Methods in org.opends.server.config that return Entry Modifier and Type Method Description Entry
ConfigurationHandler. getEntry(Dn dn)
Entry
ConfigurationHandler. getRootEntry()
Returns the configuration root entry.Methods in org.opends.server.config with parameters of type Entry Modifier and Type Method 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. -
Uses of Entry in org.opends.server.core
Methods in org.opends.server.core that return Entry Modifier and Type Method Description Entry
DirectoryServer. getConfigEntry(Dn entryDN)
Deprecated.useDirectoryServer.getEntry(Dn)
when possibleEntry
ServerContext. getConfigEntry(Dn entryDN)
Deprecated.useServerContext.getEntry(Dn)
when possibleEntry
ModifyOperation. getCurrentEntry()
Retrieves the current entry before any modifications are applied.Entry
DirectoryServer. getEntry(Dn entryDN)
Entry
ServerContext. 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()
Entry
DirectoryServer. getParentEntry(Dn childDn)
Entry
ServerContext. getParentEntry(Dn childDn)
Retrieves the entry that is the immediate parent of the entry having the provided DN.Entry
BindOperation. getSASLAuthUserEntry()
Entry
ModifyDnOperation. getUpdatedEntry()
Methods in org.opends.server.core with parameters of type Entry Modifier and Type Method Description PasswordPolicyState
PasswordPolicy. createAuthenticationPolicyState(Entry userEntry, long time, ServerContext serverContext)
void
PasswordPolicyState. generateAccountStatusNotification(AccountStatusNotificationType notificationType, Entry userEntry, LocalizableMessage message, Map<AccountStatusNotificationProperty,List<String>> notificationProperties)
Generates an account status notification for this user.<T> List<T>
SubentryManager. getClosestPwPolicySubentries(Entry entry, Function<SubEntry,T> mappingFunction)
Returns the closest password policy subentries applicable to provided entry.List<SubEntry>
SubentryManager. getCollectiveSubentries(Entry entry)
Returns collective subentries applicable to specific entry.Iterable<VirtualAttributeRule>
DirectoryServer. getVirtualAttributes(Entry entry)
Iterable<VirtualAttributeRule>
ServerContext. 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. invokeLDIFImportPlugins(LDIFImportConfig importConfig, Entry entry)
Invokes the set of LDIF import plugins that have been configured in the Directory Server.boolean
PasswordPolicy. passwordIsAcceptable(ByteString newPassword, Set<ByteString> currentPasswords, Operation operation, Entry userEntry, LocalizableMessageBuilder invalidReason, PasswordValidator<?> passwordInHistoryValidator)
Indicates whether the provided password appears to be acceptable according to the password validators, and adds aPasswordQualityAdviceResponseControl
to the operation's response if requested.boolean
PasswordPolicyState. passwordIsAcceptable(ByteString newPassword, Set<ByteString> currentPasswords, Operation operation, Entry userEntry, LocalizableMessageBuilder invalidReason)
Indicates whether the provided password appears to be acceptable according to the password validators, and adds aPasswordQualityAdviceResponseControl
to the operation's response if requested.boolean
PasswordPolicyState. passwordMatches(ByteString password, Entry entry)
Returnstrue
if the provided password value matches any of the user's passwords in the given entry.boolean
PasswordPolicyState. passwordMatches(ByteString password, Entry entry, AtomicReference<ByteString> matchedEncodedPassword)
Returnstrue
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. -
Uses of Entry in org.opends.server.crypto
Methods in org.opends.server.crypto that return Entry Modifier and Type Method Description Entry
CryptoManager.CipherService. currentKeyAsLdapEntry()
Return the active cipher key as an LDAP Entry.Entry
CryptoManager.MacService. wrapMacAsLdapEntry()
Return the MAC key as an LDAP Entry.Methods in org.opends.server.crypto with parameters of type Entry Modifier and Type Method Description CryptoManager.MacService
CryptoManager. newMacService(Entry entry)
Generates a new MAC service from the provided information in the LDAP Entry.CryptoManager.CipherService
CryptoManager.CipherService. useKeyFromEntry(Entry entry)
Use the cipher key from the provided information in the LDAP Entry as active key. -
Uses of Entry in org.opends.server.extensions
Methods in org.opends.server.extensions that return Entry Modifier and Type Method Description Entry
ExactMatchIdentityMapper. getEntryForID(String id)
Retrieves the user entry that was mapped to the provided identification string.Entry
RegularExpressionIdentityMapper. getEntryForID(String id)
protected Entry
FingerprintCertificateMapper. mapCertificateToUser0(Certificate[] certificateChain)
protected Entry
SubjectAttributeToUserAttributeCertificateMapper. mapCertificateToUser0(Certificate[] certificateChain)
protected Entry
SubjectDNToUserAttributeCertificateMapper. mapCertificateToUser0(Certificate[] certificateChain)
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.Methods in org.opends.server.extensions that return types with arguments of type Entry Modifier and Type Method Description Flowable<Entry>
DynamicGroup. getAllMembers(Dn baseDN, SearchScope scope, Filter filter)
Flowable<Entry>
StaticGroup. getAllMembers(Dn baseDN, SearchScope scope, Filter filter)
Flowable<Entry>
VirtualStaticGroup. getAllMembers(Dn baseDN, SearchScope scope, Filter filter)
Methods in org.opends.server.extensions with parameters of type Entry Modifier and Type Method Description ByteString
RandomPasswordGenerator. generatePassword(Entry userEntry)
Generates a password for the user whose account is contained in the specified entry.Attribute
CollectiveAttributeSubentriesVirtualAttributeProvider. getAttribute(Entry entry, AttributeDescription attributeDescription)
Attribute
EntityTagVirtualAttributeProvider. getAttribute(Entry entry, AttributeDescription attributeDescription)
Attribute
EntryDNVirtualAttributeProvider. getAttribute(Entry entry, AttributeDescription attributeDescription)
Attribute
EntryUUIDVirtualAttributeProvider. getAttribute(Entry entry, AttributeDescription attributeDescription)
Attribute
GoverningStructureRuleVirtualAttributeProvider. getAttribute(Entry entry, AttributeDescription attributeDescription)
Attribute
HasSubordinatesVirtualAttributeProvider. getAttribute(Entry entry, AttributeDescription attributeDescription)
Attribute
IsMemberOfVirtualAttributeProvider. getAttribute(Entry entry, AttributeDescription attributeDescription)
Attribute
MemberVirtualAttributeProvider. getAttribute(Entry entry, AttributeDescription attributeDescription)
Attribute
NumSubordinatesVirtualAttributeProvider. getAttribute(Entry entry, AttributeDescription attributeDescription)
Attribute
PasswordExpirationTimeVirtualAttributeProvider. getAttribute(Entry entry, AttributeDescription attributeDescription)
Attribute
PasswordPolicySubentryVirtualAttributeProvider. getAttribute(Entry entry, AttributeDescription attributeDescription)
Attribute
StructuralObjectClassVirtualAttributeProvider. getAttribute(Entry entry, AttributeDescription attributeDescription)
Attribute
SubschemaSubentryVirtualAttributeProvider. getAttribute(Entry entry, AttributeDescription attributeDescription)
Attribute
UserDefinedVirtualAttributeProvider. getAttribute(Entry entry, AttributeDescription attrDesc)
Attribute
UserTemplateVirtualAttributeProvider. getAttribute(Entry entry, AttributeDescription attributeDescription)
static boolean
DynamicGroup. isGroupDefinition(Entry entry)
Indicates whether the provided entry contains a valid definition for this type of group.static boolean
StaticGroup. isGroupDefinition(Entry entry)
Indicates whether the provided entry contains a valid definition for this type of group.static boolean
VirtualStaticGroup. isGroupDefinition(Entry entry)
Indicates whether the provided entry contains a valid definition for this type of group.boolean
DynamicGroup. isMember(Entry userEntry, Group.ExaminedGroups examinedGroups)
boolean
StaticGroup. isMember(Entry userEntry, Group.ExaminedGroups examinedGroups)
boolean
VirtualStaticGroup. isMember(Entry userEntry, Group.ExaminedGroups examinedGroups)
static DynamicGroup
DynamicGroup. newInstance(ServerContext serverContext, Entry groupEntry)
Creates a new group of this type based on the definition contained in the provided entry.static StaticGroup
StaticGroup. newInstance(ServerContext serverContext, Entry groupEntry)
Creates a new group of this type based on the definition contained in the provided entry.static VirtualStaticGroup
VirtualStaticGroup. newInstance(Entry groupEntry, ServerContext serverContext)
Creates a new group of this type based on the definition contained in the provided entry.boolean
AttributeValuePasswordValidator. 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
DictionaryPasswordValidator. 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
RepeatedCharactersPasswordValidator. 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
UniqueCharactersPasswordValidator. passwordIsAcceptable(ByteString newPassword, Set<ByteString> currentPasswords, Operation operation, Entry userEntry, LocalizableMessageBuilder invalidReason)
-
Uses of Entry in org.opends.server.plugins
Methods in org.opends.server.plugins with parameters of type Entry Modifier and Type Method Description PluginResult.ImportLDIF
EntityTagPlugin. doLDIFImport(LDIFImportConfig importConfig, Entry entry)
PluginResult.ImportLDIF
EntryUUIDPlugin. doLDIFImport(LDIFImportConfig importConfig, Entry entry)
PluginResult.ImportLDIF
PasswordPolicyImportPlugin. doLDIFImport(LDIFImportConfig importConfig, Entry entry)
PluginResult.ImportLDIF
SevenBitCleanPlugin. doLDIFImport(LDIFImportConfig importConfig, Entry entry)
-
Uses of Entry in org.opends.server.protocols.http
Methods in org.opends.server.protocols.http with parameters of type Entry Modifier and Type Method Description LdapClientSocket
LDAPContext.InternalLdapClient. getAuthenticatedSocket(Entry userEntry)
Get a directLdapClientSocket
to this Directory Server. -
Uses of Entry in org.opends.server.protocols.http.authz
Methods in org.opends.server.protocols.http.authz that return Entry Modifier and Type Method Description Entry
AuthenticatedUserContext. getAuthenticatedUser()
Returns the LDAP entry which represents the authenticated user.Constructors in org.opends.server.protocols.http.authz with parameters of type Entry Constructor 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. -
Uses of Entry in org.opends.server.replication.plugin
Methods in org.opends.server.replication.plugin with parameters of type Entry Modifier and Type Method Description PluginResult.ImportLDIF
FractionalLDIFImportPlugin. doLDIFImport(LDIFImportConfig importConfig, Entry entry)
See class comment for what we achieve here...static UUID
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.abstract Modification
AttrHistorical. replayOperation(CSN csn, Entry modifiedEntry, Modification mod)
This method will be called when replaying an operation.Modification
AttrHistoricalMultiple. replayOperation(CSN csn, Entry modifiedEntry, Modification m)
Modification
AttrHistoricalSingle. replayOperation(CSN csn, Entry modifiedEntry, Modification mod)
-
Uses of Entry in org.opends.server.replication.protocol
Constructors in org.opends.server.replication.protocol with parameters of type Entry Constructor Description AddMsg(CSN csn, Entry entry, UUID entryUuid, UUID parentEntryUuid)
Creates a new AddMessage. -
Uses of Entry in org.opends.server.schema
Methods in org.opends.server.schema with parameters of type Entry Modifier and Type Method Description void
SchemaHandler. importEntry(Entry newSchemaEntry, AlertGenerator alertGenerator)
Imports the provided schema entry in the schema. -
Uses of Entry in org.opends.server.tasks
Methods in org.opends.server.tasks with parameters of type Entry Modifier and Type Method Description void
AddSchemaFileTask. initializeTask(Entry taskEntry)
protected void
BackupPurgeTask. initializeTask(Entry taskEntry)
void
BackupTask. initializeTask(Entry taskEntry)
void
DisconnectClientTask. initializeTask(Entry taskEntry)
void
EnterLockdownModeTask. initializeTask(Entry taskEntry)
void
ExportTask. initializeTask(Entry taskEntry)
void
ImportTask. initializeTask(Entry taskEntry)
void
InitializeTargetTask. initializeTask(Entry taskEntry)
void
InitializeTask. initializeTask(Entry taskEntry)
void
LeaveLockdownModeTask. initializeTask(Entry taskEntry)
void
PurgeConflictsHistoricalTask. initializeTask(Entry taskEntry)
void
RebuildTask. initializeTask(Entry taskEntry)
void
ResetChangeNumberTask. initializeTask(Entry taskEntry)
void
RestoreTask. initializeTask(Entry taskEntry)
void
SetGenerationIdTask. initializeTask(Entry taskEntry)
void
ShutdownTask. initializeTask(Entry taskEntry)
Performs any task-specific initialization that may be required before processing can start. -
Uses of Entry in org.opends.server.tools
Methods in org.opends.server.tools with parameters of type Entry Modifier and Type Method Description void
ExportLdif. addTaskAttributes(Entry taskEntry)
void
ImportLdif. addTaskAttributes(Entry taskEntry)
void
RebuildIndex. addTaskAttributes(Entry taskEntry)
void
TaskCommand. addTaskAttributes(Entry taskEntry)
Adds attributes to the task entry before it is sent to the server. -
Uses of Entry in org.opends.server.tools.dsbackup
Methods in org.opends.server.tools.dsbackup with parameters of type Entry Modifier and Type Method Description PurgeArgumentsValidator
PurgeArgumentsValidator. backendNames(Entry entry, String attributeBackendNames)
Sets the list of backend names to purge.PurgeArgumentsValidator
PurgeArgumentsValidator. backupIds(Entry entry, String attributeDescription)
Sets the list of backup IDs.PurgeArgumentsValidator
PurgeArgumentsValidator. forceOlderThan(Entry entry, String attributeDescription)
Indicates whether "older than" must or not purge all the backups even the latest ones if they are older than the specified threshold.PurgeArgumentsValidator
PurgeArgumentsValidator. keepCount(Entry entry, String attributeDescription)
Sets the keep count.PurgeArgumentsValidator
PurgeArgumentsValidator. olderThan(Entry entry, String attributeDescription)
Sets the "remove older than". -
Uses of Entry in org.opends.server.tools.tasks
Methods in org.opends.server.tools.tasks that return Entry Modifier and Type Method Description static Entry
TaskClient. createTask(TaskScheduleInformation information)
Creates anEntry
for the task described in the providedTaskScheduleInformation
.Methods in org.opends.server.tools.tasks with parameters of type Entry Modifier and Type Method Description static void
TaskToolHelper. 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.static void
TaskToolHelper. 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 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.Constructors in org.opends.server.tools.tasks with parameters of type Entry Constructor Description TaskEntry(Entry entry)
Creates a parameterized instance. -
Uses of Entry in org.opends.server.types
Methods in org.opends.server.types that return Entry Modifier and Type Method Description Entry
AuthenticationInfo. getAuthenticationEntry()
Retrieves the entry for the user as whom the client is authenticated.Entry
AuthenticationInfo. getAuthorizationEntry()
Retrieves the entry for the user that should be used as the default authorization identity.Entry
Operation. getAuthorizationEntry()
Retrieves the entry for the user that should be considered the authorization identity for this operation.static Entry
ProxyAuthHelper. getAuthorizationEntryFromControl(ProxiedAuthV1RequestControl proxiedAuthControl, ServerContext serverContext)
Retrieves the authorization entry for the provided proxied authorization V1 control.static Entry
ProxyAuthHelper. getAuthorizationEntryFromControl(ProxiedAuthV2RequestControl proxiedAuthControl, ServerContext serverContext)
Retrieves the authorization entry for this proxied authorization V2 control.Entry
SizedEntry. getEntry()
Returns the entry.Entry
SubEntry. getEntry()
Getter to retrieve the actual entry object for this subentry.Entry
AccountStatusNotification. getUserEntry()
Retrieves user entry for whom this notification applies.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.Methods in org.opends.server.types with parameters of type Entry Modifier and Type Method 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, Result result, Result altResult)
Returns a newLdapException
built from the provided resultCodes and messages.AuthenticationInfo
AuthenticationInfo. duplicate(Entry newAuthenticationEntry, Entry newAuthorizationEntry)
Creates a duplicate of thisAuthenticationInfo
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.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, Schema schema)
Determine if an entry is within the scope of the subtree specification.boolean
SubtreeSpecification.FilterRefinement. matches(Entry entry, Schema schema)
static SizedEntry
SizedEntry. newSizedEntry(Entry entry, int size)
Creates a new sized entry with a non-null entry.static Entry
Entries. processVirtualAttributes(Entry e)
Performs any necessary virtual attribute processing for this entry.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.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.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, Result realResult, Result altResult)
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.Constructors in org.opends.server.types with parameters of type Entry Constructor Description AccountStatusNotification(AccountStatusNotificationType notificationType, Entry userEntry, LocalizableMessage message, Map<AccountStatusNotificationProperty,List<String>> notificationProperties)
Creates a new account status notification object with the provided information.SubEntry(Entry entry, ServerContext serverContext)
Constructs a subentry object from a given entry object. -
Uses of Entry in org.opends.server.types.operation
Methods in org.opends.server.types.operation that return Entry Modifier and Type Method Description Entry
PostOperationModifyOperation. getCurrentEntry()
Retrieves the current entry before any modifications are applied.Entry
PostResponseModifyOperation. getCurrentEntry()
Retrieves the current entry before any modifications are applied.Entry
PostSynchronizationModifyOperation. getCurrentEntry()
Retrieves the current entry before any modifications are applied.Entry
PreOperationModifyOperation. getCurrentEntry()
Retrieves the current entry before any modifications are applied.Entry
PostOperationAddOperation. getEntryToAdd()
Retrieves the entry to be added to the server.Entry
PostResponseAddOperation. getEntryToAdd()
Retrieves the entry to be added to the server.Entry
PostSynchronizationAddOperation. getEntryToAdd()
Retrieves the entry to be added to the server.Entry
PreOperationAddOperation. getEntryToAdd()
Retrieves the entry to be added to the server.Entry
PostOperationCompareOperation. getEntryToCompare()
Retrieves the entry to target with the compare operation.Entry
PostResponseCompareOperation. getEntryToCompare()
Retrieves the entry to target with the compare operation.Entry
PreOperationCompareOperation. getEntryToCompare()
Retrieves the entry to target with the compare operation.Entry
PostOperationDeleteOperation. getEntryToDelete()
Retrieves the entry to be deleted.Entry
PostResponseDeleteOperation. getEntryToDelete()
Retrieves the entry to be deleted.Entry
PostSynchronizationDeleteOperation. getEntryToDelete()
Retrieves the entry to be deleted.Entry
PreOperationDeleteOperation. getEntryToDelete()
Retrieves the entry to be deleted.Entry
PostOperationModifyOperation. 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
PostSynchronizationModifyOperation. getModifiedEntry()
Retrieves the modified entry that is to be written to the backend.Entry
PreOperationModifyOperation. getModifiedEntry()
Retrieves the modified entry that is to be written to the backend.Entry
PostOperationModifyDNOperation. getOriginalEntry()
Retrieves the current entry, before it is renamed.Entry
PostResponseModifyDNOperation. getOriginalEntry()
Retrieves the current entry, before it is renamed.Entry
PostSynchronizationModifyDNOperation. getOriginalEntry()
Retrieves the current entry, before it is renamed.Entry
PreOperationModifyDNOperation. getOriginalEntry()
Retrieves the current entry, before it is renamed.Entry
SubordinateModifyDNOperation. getOriginalEntry()
Retrieves the current entry, before it is renamed.Entry
PostOperationBindOperation. getSASLAuthUserEntry()
Retrieves the user entry associated with the SASL authentication attempt.Entry
PostResponseBindOperation. getSASLAuthUserEntry()
Retrieves the user entry associated with the SASL authentication attempt.Entry
PostOperationModifyDNOperation. 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
PostSynchronizationModifyDNOperation. 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
SubordinateModifyDNOperation. getUpdatedEntry()
Retrieves the new entry, as it will appear after it is renamed.Methods in org.opends.server.types.operation with parameters of type Entry Modifier and Type Method Description boolean
PreOperationSearchOperation. returnEntry(Entry entry, List<Control> controls)
Returns the provided entry to the client.boolean
PreParseSearchOperation. returnEntry(Entry entry, List<Control> controls)
Returns the provided entry to the client. -
Uses of Entry in org.opends.server.util
Methods in org.opends.server.util that return Entry Modifier and Type Method Description static Entry
StaticUtils. addRdnAttributes(Entry entry)
Add the RDN attribute(s) to the provided entry.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.Methods in org.opends.server.util with parameters of type Entry Modifier and Type Method 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.protected boolean
LDIFReader. invokeImportPlugins(Entry entry, LinkedList<StringBuilder> lines)
void
LDIFReader. rejectEntry(Entry entry, LocalizableMessage message)
Log the specified entry and messages in the reject writer.
-