Uses of Class
org.ldaptive.LdapException
-
-
Uses of LdapException in org.ldaptive
Subclasses of LdapException in org.ldaptive Modifier and Type Class Description class
ConnectException
Exception that indicates a connection attempt failed.Methods in org.ldaptive that throw LdapException Modifier and Type Method Description CompareResponse
CompareOperationHandle. await()
S
OperationHandle. await()
Waits for a result or reports a timeout exception.SearchResponse
SearchOperationHandle. await()
AddResponse
AddOperation. execute(AddRequest request)
Executes an add request.static AddResponse
AddOperation. execute(ConnectionFactory factory, AddRequest request)
Executes an add request.BindResponse
BindOperation. execute(BindRequest request)
Executes a bind request.static BindResponse
BindOperation. execute(ConnectionFactory factory, BindRequest request)
Executes a bind request.CompareResponse
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.DeleteResponse
DeleteOperation. execute(DeleteRequest request)
Executes a delete request.static ModifyDnResponse
ModifyDnOperation. execute(ConnectionFactory factory, ModifyDnRequest request)
Executes a modify DN request.ModifyDnResponse
ModifyDnOperation. execute(ModifyDnRequest request)
Executes a modify DN request.static ModifyResponse
ModifyOperation. execute(ConnectionFactory factory, ModifyRequest request)
Executes a modify request.ModifyResponse
ModifyOperation. execute(ModifyRequest request)
Executes a modify request.S
Operation. execute(Q request)
Sends an asynchronous request and waits for the response.default S
OperationHandle. execute()
Convenience method that invokesOperationHandle.send()
followed byOperationHandle.await()
.SearchResponse
SearchOperation. execute()
Executes a search request usingSearchOperation.getRequest()
.SearchResponse
SearchOperation. execute(String filter)
Executes a search request.SearchResponse
SearchOperation. execute(String filter, String... returnAttributes)
Executes a search request.SearchResponse
SearchOperation. execute(String filter, String[] returnAttributes, LdapEntryHandler... handlers)
Executes a search request.SearchResponse
SearchOperation. execute(String baseDN, String filter, String[] returnAttributes, LdapEntryHandler... handlers)
Executes a search request.SearchResponse
SearchOperation. execute(String baseDN, Filter filter, String[] returnAttributes, LdapEntryHandler... handlers)
Executes a search request.SearchResponse
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.SearchResponse
SearchOperation. execute(Filter filter)
Executes a search request.SearchResponse
SearchOperation. execute(Filter filter, String... returnAttributes)
Executes a search request.SearchResponse
SearchOperation. execute(Filter filter, String[] returnAttributes, LdapEntryHandler... handlers)
Executes a search request.SearchResponse
SearchOperation. execute(FilterTemplate template)
Executes a search request.SearchResponse
SearchOperation. execute(FilterTemplate template, String... returnAttributes)
Executes a search request.SearchResponse
SearchOperation. execute(FilterTemplate template, String[] returnAttributes, LdapEntryHandler... handlers)
Executes a search request.SearchResponse
SearchOperation. execute(SearchRequest req)
default SearchResponse
SearchOperationHandle. execute()
Connection
ConnectionFactory. getConnection()
Creates a new connection.Result
BindConnectionInitializer. initialize(Connection c)
Result
ConnectionInitializer. initialize(Connection conn)
Initialize the supplied connection.void
SingleConnectionFactory. initialize()
Prepares this factory for use.private void
SingleConnectionFactory. initializeConnectionProxy()
Opens the connection and creates the connection proxy.private void
SingleConnectionFactory. initializeInternal()
Attempts to open the connection and establish the proxy.void
Connection. open()
Opens the connection.BindResponse
Connection. operation(DefaultSaslClientRequest request)
Returns the result of a SASL request that requires use of the default SASL client.BindResponse
Connection. operation(SaslClientRequest request)
Returns the result of a SASL request that requires use of a generic SASL client.OperationHandle<AddRequest,AddResponse>
AddOperation. send(AddRequest request)
Sends an add request.static OperationHandle<AddRequest,AddResponse>
AddOperation. send(ConnectionFactory factory, AddRequest request)
Sends an add request.OperationHandle<BindRequest,BindResponse>
BindOperation. send(BindRequest request)
Sends a bind request.static OperationHandle<BindRequest,BindResponse>
BindOperation. send(ConnectionFactory factory, BindRequest request)
Sends a bind request.CompareOperationHandle
CompareOperation. send(CompareRequest request)
Sends a compare request.static CompareOperationHandle
CompareOperation. send(ConnectionFactory factory, CompareRequest request)
Sends a compare request.static OperationHandle<DeleteRequest,DeleteResponse>
DeleteOperation. send(ConnectionFactory factory, DeleteRequest request)
Sends a delete request.OperationHandle<DeleteRequest,DeleteResponse>
DeleteOperation. send(DeleteRequest request)
Sends a delete request.static OperationHandle<ModifyDnRequest,ModifyDnResponse>
ModifyDnOperation. send(ConnectionFactory factory, ModifyDnRequest request)
Sends a modify DN request.OperationHandle<ModifyDnRequest,ModifyDnResponse>
ModifyDnOperation. send(ModifyDnRequest request)
Sends a modify DN request.static OperationHandle<ModifyRequest,ModifyResponse>
ModifyOperation. send(ConnectionFactory factory, ModifyRequest request)
Sends a modify request.OperationHandle<ModifyRequest,ModifyResponse>
ModifyOperation. send(ModifyRequest request)
Sends a modify request.OperationHandle<Q,S>
Operation. send(Q request)
Sends an asynchronous request and does not wait for a response.SearchOperationHandle
SearchOperation. send()
Sends a search request.SearchOperationHandle
SearchOperation. send(String filter)
Sends a search request.SearchOperationHandle
SearchOperation. send(String filter, String... returnAttributes)
Sends a search request.SearchOperationHandle
SearchOperation. send(String filter, String[] returnAttributes, LdapEntryHandler... handlers)
Sends a search request.SearchOperationHandle
SearchOperation. send(String baseDN, String filter, String[] returnAttributes, LdapEntryHandler... handlers)
Sends a search request.SearchOperationHandle
SearchOperation. send(String baseDN, Filter filter, String[] returnAttributes, LdapEntryHandler... handlers)
Sends a search request.SearchOperationHandle
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.SearchOperationHandle
SearchOperation. send(Filter filter)
Sends a search request.SearchOperationHandle
SearchOperation. send(Filter filter, String... returnAttributes)
Sends a search request.SearchOperationHandle
SearchOperation. send(Filter filter, String[] returnAttributes, LdapEntryHandler... handlers)
Sends a search request.SearchOperationHandle
SearchOperation. send(FilterTemplate template)
Sends a search request.SearchOperationHandle
SearchOperation. send(FilterTemplate template, String... returnAttributes)
Sends a search request.SearchOperationHandle
SearchOperation. send(FilterTemplate template, String[] returnAttributes, LdapEntryHandler... handlers)
Sends a search request.SearchOperationHandle
SearchOperation. send(SearchRequest req)
Sends the supplied search request. -
Uses of LdapException in org.ldaptive.ad.control.util
-
Uses of LdapException in org.ldaptive.ad.extended
Methods in org.ldaptive.ad.extended that throw LdapException Modifier and Type Method Description Result
FastBindConnectionInitializer. initialize(Connection c)
-
Uses of LdapException in org.ldaptive.ad.schema
Methods in org.ldaptive.ad.schema that throw LdapException Modifier and Type Method Description static Schema
SchemaFactory. createSchema(ConnectionFactory factory, String entryDn)
Creates a new schema.private 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 LdapException Modifier and Type Method Description AuthenticationHandlerResponse
AbstractAuthenticationHandler. authenticate(AuthenticationCriteria ac)
AuthenticationHandlerResponse
AggregateAuthenticationHandler. authenticate(AuthenticationCriteria criteria)
AuthenticationHandlerResponse
AuthenticationHandler. authenticate(AuthenticationCriteria criteria)
Perform an ldap authentication.protected AuthenticationResponse
Authenticator. authenticate(String dn, AuthenticationRequest request)
Validates input and performs authentication using anAuthenticationHandler
.AuthenticationResponse
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.SearchResponse
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.LdapEntry
AbstractSearchEntryResolver. resolve(AuthenticationCriteria criteria, AuthenticationHandlerResponse response)
String
AggregateDnResolver. resolve(User user)
LdapEntry
AggregateEntryResolver. resolve(AuthenticationCriteria criteria, AuthenticationHandlerResponse response)
String
DnResolver. resolve(User user)
Attempts to find the LDAP DN for the supplied user.LdapEntry
EntryResolver. resolve(AuthenticationCriteria criteria, AuthenticationHandlerResponse response)
Attempts to find the LDAP entry for the supplied authentication criteria and authentication handler response.String
FormatDnResolver. resolve(User user)
Returns a DN for the supplied user by applying it to a format string.String
NoOpDnResolver. resolve(User user)
Returns the user as the DN.String
SearchDnResolver. resolve(User user)
Attempts to find the DN for the supplied user.String
Authenticator. resolveDn(User 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 LdapException Modifier and Type Method Description AddResponse
DefaultLdapEntryManager. add(T object)
AddResponse
DefaultLdapEntryManager. add(T object, ResultPredicate predicate)
Adds the supplied annotated object to an LDAP.AddResponse
LdapEntryManager. add(T object)
Adds the supplied annotated object to an LDAP.DeleteResponse
DefaultLdapEntryManager. delete(T object)
DeleteResponse
DefaultLdapEntryManager. delete(T object, ResultPredicate predicate)
Deletes the supplied annotated object from an LDAP.DeleteResponse
LdapEntryManager. delete(T object)
Deletes the supplied annotated object from an LDAP.T
DefaultLdapEntryManager. find(T object)
T
LdapEntryManager. find(T object)
Searches for the supplied annotated object in an LDAP and returns the object mapped with its ldap attribute properties set.Result
DefaultLdapEntryManager. merge(T object)
Result
DefaultLdapEntryManager. merge(T object, ResultPredicate predicate)
Merges the supplied annotated object in an LDAP.Result
LdapEntryManager. merge(T object)
Merges the supplied annotated object in an LDAP. -
Uses of LdapException in org.ldaptive.control.util
Methods in org.ldaptive.control.util that throw LdapException Modifier and Type Method Description SearchResponse
PagedResultsClient. execute(SearchRequest request)
Performs a search operation with thePagedResultsControl
.SearchResponse
PagedResultsClient. execute(SearchRequest request, CookieManager manager)
Performs a search operation with thePagedResultsControl
.SearchResponse
PagedResultsClient. execute(SearchRequest request, SearchResponse result)
Performs a search operation with thePagedResultsControl
.SearchResponse
VirtualListViewClient. execute(SearchRequest request, VirtualListViewParams params)
Performs a search operation with theVirtualListViewRequestControl
.SearchResponse
VirtualListViewClient. execute(SearchRequest request, VirtualListViewParams params, SearchResponse result)
Performs a search operation with theVirtualListViewRequestControl
.SearchResponse
PagedResultsClient. executeToCompletion(SearchRequest request)
Performs a search operation with thePagedResultsControl
.SearchResponse
PagedResultsClient. executeToCompletion(SearchRequest request, CookieManager manager)
Performs a search operation with thePagedResultsControl
.SearchResponse
VirtualListViewClient. executeToCompletion(SearchRequest request, VirtualListViewParams params)
Performs a search operation with theVirtualListViewRequestControl
.SearchOperationHandle
PersistentSearchClient. send(SearchRequest request)
Performs an async search operation with thePersistentSearchRequestControl
.SearchOperationHandle
SyncReplClient. send(SearchRequest request)
SearchOperationHandle
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 LdapException Modifier and Type Method Description protected Result
MergeOperation. add(MergeRequest request, LdapEntry entry)
Executes anAddOperation
for the supplied entry.protected Result
MergeOperation. delete(MergeRequest request, LdapEntry entry)
Executes aDeleteOperation
for the supplied entry.Result
MergeOperation. execute(MergeRequest request)
Executes a merge request.protected Result
MergeOperation. modify(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 LdapException Modifier and Type Method Description ExtendedResponse
ExtendedOperationHandle. await()
static ExtendedResponse
ExtendedOperation. execute(ConnectionFactory factory, ExtendedRequest request)
Executes an extended request.ExtendedResponse
ExtendedOperation. execute(ExtendedRequest request)
Executes an extended request.default ExtendedResponse
ExtendedOperationHandle. execute()
static ExtendedOperationHandle
ExtendedOperation. send(ConnectionFactory factory, ExtendedRequest request)
Sends an extended request.ExtendedOperationHandle
ExtendedOperation. send(ExtendedRequest request)
Sends an extended request. -
Uses of LdapException in org.ldaptive.filter
Subclasses of LdapException in org.ldaptive.filter Modifier and Type Class Description class
FilterParseException
Exception that indicates an invalid filter string. -
Uses of LdapException in org.ldaptive.handler
Methods in org.ldaptive.handler that throw LdapException Modifier and Type Method Description default 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 LdapException Modifier and Type Method Description Set<LdapRole>
RoleResolver. search(SearchRequest request)
Executes a search request and converts any attributes to ldap roles.Set<LdapRole>
SearchRoleResolver. search(SearchRequest request)
-
Uses of LdapException in org.ldaptive.pool
Subclasses of LdapException in org.ldaptive.pool Modifier and Type Class Description class
ActivationException
Thrown when an attempt to activate a pooled connection fails.class
BlockingTimeoutException
Thrown when a blocking operation times out.class
PoolException
Base exception thrown when a pool operation fails.class
PoolExhaustedException
Thrown when the pool is empty and no new requests can be serviced.class
ValidationException
Thrown when an attempt to validate a pooled connection fails. -
Uses of LdapException in org.ldaptive.schema
Subclasses of LdapException in org.ldaptive.schema Modifier and Type Class Description class
SchemaParseException
Exception that indicates a schema element string could not be parsed.Methods in org.ldaptive.schema that throw LdapException Modifier and Type Method Description static Schema
SchemaFactory. createSchema(ConnectionFactory factory)
Creates a new schema.static Schema
SchemaFactory. createSchema(ConnectionFactory factory, String entryDn)
Creates a new schema.private 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 LdapException Modifier and Type Field Description private LdapException
DefaultOperationHandle. exception
Exception encountered attempting to process the request.Methods in org.ldaptive.transport with parameters of type LdapException Modifier and Type Method Description void
DefaultOperationHandle. abandon(LdapException cause)
Abandons this operation.void
DefaultOperationHandle. exception(LdapException e)
InvokesDefaultOperationHandle.onException
followed byDefaultOperationHandle.complete()
.Methods in org.ldaptive.transport that throw LdapException Modifier and Type Method Description CompareResponse
DefaultCompareOperationHandle. await()
ExtendedResponse
DefaultExtendedOperationHandle. await()
S
DefaultOperationHandle. await()
SearchResponse
DefaultSearchOperationHandle. await()
BindResponse
ScramSaslClient. bind(TransportConnection conn, ScramBindRequest request)
Performs a SCRAM SASL bind.SearchResponse
DefaultSearchOperationHandle. execute()
void
TransportConnection. open()
protected abstract void
TransportConnection. open(LdapURL url)
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 LdapException Modifier and Type Method Description void
HandleMap. notifyOperationHandles(LdapException e)
Notifies all operation handles in the queue that an exception has occurred.Methods in org.ldaptive.transport.netty that throw LdapException Modifier and Type Method Description private 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)
BindResponse
NettyConnection.BindOperationHandle. execute()
protected void
NettyConnection. open(LdapURL url)
private void
NettyConnection. openInitialize(LdapURL url)
Initializes this connection for use after it has been established.(package private) Result
NettyConnection. operation(StartTLSRequest request)
Performs a startTLS operation.BindResponse
NettyConnection. operation(DefaultSaslClientRequest request)
Performs a SASL client bind operation.BindResponse
NettyConnection. operation(SaslClientRequest request)
Performs a SASL bind operation that uses a custom client.DefaultOperationHandle
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.
-