Uses of Class
org.ldaptive.LdapException
Packages that use LdapException
Package
Description
-
Uses of LdapException in org.ldaptive
Subclasses of LdapException in org.ldaptiveModifier and TypeClassDescriptionclass
Exception that indicates a connection attempt failed.Methods in org.ldaptive that throw LdapExceptionModifier and TypeMethodDescriptionCompareOperationHandle.await()
OperationHandle.await()
Waits for a result or reports a timeout exception.SearchOperationHandle.await()
AddOperation.execute
(AddRequest request) Executes an add request.static AddResponse
AddOperation.execute
(ConnectionFactory factory, AddRequest request) Executes an add request.BindOperation.execute
(BindRequest request) Executes a bind request.static BindResponse
BindOperation.execute
(ConnectionFactory factory, BindRequest request) Executes a bind request.CompareOperation.execute
(CompareRequest request) Executes a compare request.static CompareResponse
CompareOperation.execute
(ConnectionFactory factory, CompareRequest request) Executes a compare request.default CompareResponse
CompareOperationHandle.execute()
static DeleteResponse
DeleteOperation.execute
(ConnectionFactory factory, DeleteRequest request) Executes a delete request.DeleteOperation.execute
(DeleteRequest request) Executes a delete request.static ModifyDnResponse
ModifyDnOperation.execute
(ConnectionFactory factory, ModifyDnRequest request) Executes a modify DN request.ModifyDnOperation.execute
(ModifyDnRequest request) Executes a modify DN request.static ModifyResponse
ModifyOperation.execute
(ConnectionFactory factory, ModifyRequest request) Executes a modify request.ModifyOperation.execute
(ModifyRequest request) Executes a modify request.Sends an asynchronous request and waits for the response.default S
OperationHandle.execute()
Convenience method that invokesOperationHandle.send()
followed byOperationHandle.await()
.SearchOperation.execute()
Executes a search request usingSearchOperation.getRequest()
.Executes a search request.Executes a search request.SearchOperation.execute
(String filter, String[] returnAttributes, LdapEntryHandler... handlers) Executes a search request.SearchOperation.execute
(String baseDN, String filter, String[] returnAttributes, LdapEntryHandler... handlers) Executes a search request.SearchOperation.execute
(String baseDN, Filter filter, String[] returnAttributes, LdapEntryHandler... handlers) Executes a search request.SearchOperation.execute
(String baseDN, FilterTemplate template, String[] returnAttributes, LdapEntryHandler... handlers) Executes a search request.static SearchResponse
SearchOperation.execute
(ConnectionFactory factory, SearchRequest req) Executes a search request.Executes a search request.Executes a search request.SearchOperation.execute
(Filter filter, String[] returnAttributes, LdapEntryHandler... handlers) Executes a search request.SearchOperation.execute
(FilterTemplate template) Executes a search request.SearchOperation.execute
(FilterTemplate template, String... returnAttributes) Executes a search request.SearchOperation.execute
(FilterTemplate template, String[] returnAttributes, LdapEntryHandler... handlers) Executes a search request.SearchOperation.execute
(SearchRequest req) default SearchResponse
SearchOperationHandle.execute()
ConnectionFactory.getConnection()
Creates a new connection.BindConnectionInitializer.initialize
(Connection c) ConnectionInitializer.initialize
(Connection conn) Initialize the supplied connection.void
SingleConnectionFactory.initialize()
Prepares this factory for use.private void
SingleConnectionFactory.initializeInternal()
Attempts to open the connection and establish the proxy.void
Connection.open()
Opens the connection.Connection.operation
(DefaultSaslClientRequest request) Returns the result of a SASL request that requires use of the default SASL client.Connection.operation
(SaslClientRequest request) Returns the result of a SASL request that requires use of a generic SASL client.AddOperation.send
(AddRequest request) Sends an add request.static OperationHandle<AddRequest,
AddResponse> AddOperation.send
(ConnectionFactory factory, AddRequest request) Sends an add request.BindOperation.send
(BindRequest request) Sends a bind request.static OperationHandle<BindRequest,
BindResponse> BindOperation.send
(ConnectionFactory factory, BindRequest request) Sends a bind request.CompareOperation.send
(CompareRequest request) Sends a compare request.static CompareOperationHandle
CompareOperation.send
(ConnectionFactory factory, CompareRequest request) Sends a compare request.DeleteOperation.send
(ConnectionFactory factory, DeleteRequest request) Sends a delete request.DeleteOperation.send
(DeleteRequest request) Sends a delete request.ModifyDnOperation.send
(ConnectionFactory factory, ModifyDnRequest request) Sends a modify DN request.ModifyDnOperation.send
(ModifyDnRequest request) Sends a modify DN request.ModifyOperation.send
(ConnectionFactory factory, ModifyRequest request) Sends a modify request.ModifyOperation.send
(ModifyRequest request) Sends a modify request.Sends an asynchronous request and does not wait for a response.SearchOperation.send()
Sends a search request.Sends a search request.Sends a search request.SearchOperation.send
(String filter, String[] returnAttributes, LdapEntryHandler... handlers) Sends a search request.SearchOperation.send
(String baseDN, String filter, String[] returnAttributes, LdapEntryHandler... handlers) Sends a search request.SearchOperation.send
(String baseDN, Filter filter, String[] returnAttributes, LdapEntryHandler... handlers) Sends a search request.SearchOperation.send
(String baseDN, FilterTemplate template, String[] returnAttributes, LdapEntryHandler... handlers) Sends a search request.static SearchOperationHandle
SearchOperation.send
(ConnectionFactory factory, SearchRequest req) Sends a search request.Sends a search request.Sends a search request.SearchOperation.send
(Filter filter, String[] returnAttributes, LdapEntryHandler... handlers) Sends a search request.SearchOperation.send
(FilterTemplate template) Sends a search request.SearchOperation.send
(FilterTemplate template, String... returnAttributes) Sends a search request.SearchOperation.send
(FilterTemplate template, String[] returnAttributes, LdapEntryHandler... handlers) Sends a search request.SearchOperation.send
(SearchRequest req) Sends the supplied search request. -
Uses of LdapException in org.ldaptive.ad.control.util
Methods in org.ldaptive.ad.control.util that throw LdapExceptionModifier and TypeMethodDescriptionDirSyncClient.execute
(SearchRequest request) Performs a search operation with theDirSyncControl
.DirSyncClient.execute
(SearchRequest request, CookieManager manager) Performs a search operation with theDirSyncControl
.DirSyncClient.execute
(SearchRequest request, SearchResponse result) Performs a search operation with theDirSyncControl
.NotificationClient.execute
(SearchRequest request) InvokesNotificationClient.execute(SearchRequest, int)
with a capacity ofInteger.MAX_VALUE
.NotificationClient.execute
(SearchRequest request, int capacity) Performs a search operation with theNotificationControl
.DirSyncClient.executeToCompletion
(SearchRequest request) DirSyncClient.executeToCompletion
(SearchRequest request, CookieManager manager) Performs a search operation with theDirSyncControl
. -
Uses of LdapException in org.ldaptive.ad.extended
Methods in org.ldaptive.ad.extended that throw LdapException -
Uses of LdapException in org.ldaptive.ad.schema
Methods in org.ldaptive.ad.schema that throw LdapExceptionModifier and TypeMethodDescriptionstatic Schema
SchemaFactory.createSchema
(ConnectionFactory factory, String entryDn) Creates a new schema.protected static SearchResponse
SchemaFactory.getSearchResult
(ConnectionFactory factory, String dn, String filter, String[] retAttrs) Searches for the supplied dn and returns its ldap entry. -
Uses of LdapException in org.ldaptive.auth
Methods in org.ldaptive.auth that throw LdapExceptionModifier and TypeMethodDescriptionAbstractAuthenticationHandler.authenticate
(AuthenticationCriteria ac) AggregateAuthenticationHandler.authenticate
(AuthenticationCriteria criteria) AuthenticationHandler.authenticate
(AuthenticationCriteria criteria) Perform an ldap authentication.protected AuthenticationResponse
Authenticator.authenticate
(String dn, AuthenticationRequest request) Validates input and performs authentication using anAuthenticationHandler
.Authenticator.authenticate
(AuthenticationRequest request) Authenticate the user in the supplied request.protected abstract AuthenticationHandlerResponse
AbstractAuthenticationHandler.authenticateInternal
(Connection c, AuthenticationCriteria criteria) Authenticate on the supplied connection using the supplied criteria.protected AuthenticationHandlerResponse
CompareAuthenticationHandler.authenticateInternal
(Connection c, AuthenticationCriteria criteria) protected AuthenticationHandlerResponse
SimpleBindAuthenticationHandler.authenticateInternal
(Connection c, AuthenticationCriteria criteria) protected byte[]
CompareAuthenticationHandler.digestCredential
(Credential credential, String algorithm) Digests the supplied credential using the supplied algorithm.void
AddControlAuthenticationRequestHandler.handle
(String dn, AuthenticationRequest request) void
AggregateAuthenticationResponseHandler.handle
(AuthenticationResponse response) void
AuthenticationRequestHandler.handle
(String dn, AuthenticationRequest request) Handle the request for an ldap authentication.void
AuthenticationResponseHandler.handle
(AuthenticationResponse response) Handle the response from an ldap authentication.protected abstract SearchResponse
AbstractSearchEntryResolver.performLdapSearch
(AuthenticationCriteria criteria, AuthenticationHandlerResponse response) Executes an ldap search with the supplied authentication criteria.protected SearchResponse
AuthorizationIdentityEntryResolver.performLdapSearch
(AuthenticationCriteria criteria, AuthenticationHandlerResponse response) protected SearchResponse
SearchDnResolver.performLdapSearch
(FilterTemplate template) Executes the ldap search operation with the supplied filter.SearchEntryResolver.performLdapSearch
(AuthenticationCriteria criteria, AuthenticationHandlerResponse response) protected SearchResponse
WhoAmIEntryResolver.performLdapSearch
(AuthenticationCriteria criteria, AuthenticationHandlerResponse response) protected AuthenticationRequest
Authenticator.processRequest
(String dn, AuthenticationRequest request) Creates a new authentication request applying any applicable configuration on this authenticator.AbstractSearchEntryResolver.resolve
(AuthenticationCriteria criteria, AuthenticationHandlerResponse response) AggregateEntryResolver.resolve
(AuthenticationCriteria criteria, AuthenticationHandlerResponse response) Attempts to find the LDAP DN for the supplied user.EntryResolver.resolve
(AuthenticationCriteria criteria, AuthenticationHandlerResponse response) Attempts to find the LDAP entry for the supplied authentication criteria and authentication handler response.Returns a DN for the supplied user by applying it to a format string.Returns the user as the DN.Attempts to find the DN for the supplied user.This will attempt to find the DN for the supplied user.protected LdapEntry
Authenticator.resolveEntry
(AuthenticationCriteria criteria, AuthenticationHandlerResponse response) Attempts to find the ldap entry for the supplied DN. -
Uses of LdapException in org.ldaptive.beans.persistence
Methods in org.ldaptive.beans.persistence that throw LdapExceptionModifier and TypeMethodDescriptionDefaultLdapEntryManager.add
(T object, ResultPredicate predicate) Adds the supplied annotated object to an LDAP.Adds the supplied annotated object to an LDAP.DefaultLdapEntryManager.delete
(T object, ResultPredicate predicate) Deletes the supplied annotated object from an LDAP.Deletes the supplied annotated object from an LDAP.Searches for the supplied annotated object in an LDAP and returns the object mapped with it's ldap attribute properties set.DefaultLdapEntryManager.merge
(T object, ResultPredicate predicate) Merges the supplied annotated object in an LDAP.Merges the supplied annotated object in an LDAP. -
Uses of LdapException in org.ldaptive.control.util
Methods in org.ldaptive.control.util that throw LdapExceptionModifier and TypeMethodDescriptionPagedResultsClient.execute
(SearchRequest request) Performs a search operation with thePagedResultsControl
.PagedResultsClient.execute
(SearchRequest request, CookieManager manager) Performs a search operation with thePagedResultsControl
.PagedResultsClient.execute
(SearchRequest request, SearchResponse result) Performs a search operation with thePagedResultsControl
.VirtualListViewClient.execute
(SearchRequest request, VirtualListViewParams params) Performs a search operation with theVirtualListViewRequestControl
.VirtualListViewClient.execute
(SearchRequest request, VirtualListViewParams params, SearchResponse result) Performs a search operation with theVirtualListViewRequestControl
.PagedResultsClient.executeToCompletion
(SearchRequest request) Performs a search operation with thePagedResultsControl
.PagedResultsClient.executeToCompletion
(SearchRequest request, CookieManager manager) Performs a search operation with thePagedResultsControl
.PersistentSearchClient.send
(SearchRequest request) Performs an async search operation with thePersistentSearchRequestControl
.SyncReplClient.send
(SearchRequest request) SyncReplClient.send
(SearchRequest request, CookieManager manager) Performs an async search operation with theSyncRequestControl
. -
Uses of LdapException in org.ldaptive.ext
Methods in org.ldaptive.ext that throw LdapExceptionModifier and TypeMethodDescriptionprotected Result
MergeOperation.add
(Connection conn, MergeRequest request, LdapEntry entry) Executes anAddOperation
for the supplied entry.protected Result
MergeOperation.delete
(Connection conn, MergeRequest request, LdapEntry entry) Executes aDeleteOperation
for the supplied entry.MergeOperation.execute
(MergeRequest request) Executes a merge request.protected Result
MergeOperation.modify
(Connection conn, MergeRequest request, LdapEntry source, LdapEntry target) Retrieves the attribute modifications fromLdapEntry.computeModifications(LdapEntry, LdapEntry)
and executes aModifyOperation
with those results. -
Uses of LdapException in org.ldaptive.extended
Methods in org.ldaptive.extended that throw LdapExceptionModifier and TypeMethodDescriptionExtendedOperationHandle.await()
static ExtendedResponse
ExtendedOperation.execute
(ConnectionFactory factory, ExtendedRequest request) Executes an extended request.ExtendedOperation.execute
(ExtendedRequest request) Executes an extended request.default ExtendedResponse
ExtendedOperationHandle.execute()
static ExtendedOperationHandle
ExtendedOperation.send
(ConnectionFactory factory, ExtendedRequest request) Sends an extended request.ExtendedOperation.send
(ExtendedRequest request) Sends an extended request. -
Uses of LdapException in org.ldaptive.filter
Subclasses of LdapException in org.ldaptive.filterModifier and TypeClassDescriptionclass
Exception that indicates an invalid filter string. -
Uses of LdapException in org.ldaptive.handler
Methods in org.ldaptive.handler that throw LdapExceptionModifier and TypeMethodDescriptiondefault void
ResultPredicate.testAndThrow
(Result result) Test a result and throw if the test succeeds. -
Uses of LdapException in org.ldaptive.jaas
Methods in org.ldaptive.jaas that throw LdapExceptionModifier and TypeMethodDescriptionRoleResolver.search
(SearchRequest request) Executes a search request and converts any attributes to ldap roles.SearchRoleResolver.search
(SearchRequest request) -
Uses of LdapException in org.ldaptive.pool
Subclasses of LdapException in org.ldaptive.poolModifier and TypeClassDescriptionclass
Thrown when an attempt to activate a pooled connection fails.class
Thrown when a blocking operation times out.class
Base exception thrown when a pool operation fails.class
Thrown when the pool is empty and no new requests can be serviced.class
Thrown when an attempt to validate a pooled connection fails. -
Uses of LdapException in org.ldaptive.schema
Subclasses of LdapException in org.ldaptive.schemaModifier and TypeClassDescriptionclass
Exception that indicates a schema element string could not be parsed.Methods in org.ldaptive.schema that throw LdapExceptionModifier and TypeMethodDescriptionstatic Schema
SchemaFactory.createSchema
(ConnectionFactory factory) Creates a new schema.static Schema
SchemaFactory.createSchema
(ConnectionFactory factory, String entryDn) Creates a new schema.protected static LdapEntry
SchemaFactory.getLdapEntry
(ConnectionFactory factory, String dn, String filter, String... retAttrs) Searches for the supplied dn and returns its ldap entry. -
Uses of LdapException in org.ldaptive.transport
Fields in org.ldaptive.transport declared as LdapExceptionModifier and TypeFieldDescriptionprivate LdapException
DefaultOperationHandle.exception
Exception encountered attempting to process the request.Methods in org.ldaptive.transport with parameters of type LdapExceptionModifier and TypeMethodDescriptionvoid
DefaultOperationHandle.abandon
(LdapException cause) Abandons this operation.void
DefaultOperationHandle.exception
(LdapException e) InvokesDefaultOperationHandle.onException
followed byDefaultOperationHandle.complete()
.Methods in org.ldaptive.transport that throw LdapExceptionModifier and TypeMethodDescriptionDefaultCompareOperationHandle.await()
DefaultExtendedOperationHandle.await()
DefaultOperationHandle.await()
DefaultSearchOperationHandle.await()
ScramSaslClient.bind
(TransportConnection conn, ScramBindRequest request) Performs a SCRAM SASL bind.DefaultSearchOperationHandle.execute()
void
TransportConnection.open()
protected abstract void
Attempt to open a connection to the supplied LDAP URL.protected void
TransportConnection.reopen
(RetryMetadata metadata) Method to support reopening a connection that was previously established.protected void
TransportConnection.strategyOpen
(RetryMetadata metadata) Retrieves URLs from the connection strategy and attempts each one, in order, until a connection is made or the list is exhausted. -
Uses of LdapException in org.ldaptive.transport.netty
Methods in org.ldaptive.transport.netty with parameters of type LdapExceptionModifier and TypeMethodDescriptionvoid
HandleMap.notifyOperationHandles
(LdapException e) Notifies all operation handles in the queue that an exception has occurred.Methods in org.ldaptive.transport.netty that throw LdapExceptionModifier and TypeMethodDescriptionprivate void
HandleMap.acquireThrottle()
Attempt to acquire the throttle semaphore.protected void
NettyConnection.MessageDecoder.decode
(io.netty.channel.ChannelHandlerContext ctx, io.netty.buffer.ByteBuf in, List<Object> out) NettyConnection.BindOperationHandle.execute()
protected void
(package private) Result
NettyConnection.operation
(StartTLSRequest request) Performs a startTLS operation.NettyConnection.operation
(DefaultSaslClientRequest request) Performs a SASL client bind operation.NettyConnection.operation
(SaslClientRequest request) Performs a SASL bind operation that uses a custom client.HandleMap.put
(int id, DefaultOperationHandle handle) Puts the supplied operation handle into the queue if the supplied id doesn't already exist in the queue.private void
NettyConnection.throwIfClosed()
Throws an exception if the Netty channel is closed.