Uses of Class
org.ldaptive.LdapException
-
-
Uses of LdapException in org.ldaptive
Subclasses of LdapException in org.ldaptive Modifier and Type Class Description classConnectExceptionException that indicates a connection attempt failed.Methods in org.ldaptive that throw LdapException Modifier and Type Method Description CompareResponseCompareOperationHandle. await()SOperationHandle. await()Waits for a result or reports a timeout exception.SearchResponseSearchOperationHandle. await()AddResponseAddOperation. execute(AddRequest request)Executes an add request.static AddResponseAddOperation. execute(ConnectionFactory factory, AddRequest request)Executes an add request.BindResponseBindOperation. execute(BindRequest request)Executes a bind request.static BindResponseBindOperation. execute(ConnectionFactory factory, BindRequest request)Executes a bind request.CompareResponseCompareOperation. execute(CompareRequest request)Executes a compare request.static CompareResponseCompareOperation. execute(ConnectionFactory factory, CompareRequest request)Executes a compare request.default CompareResponseCompareOperationHandle. execute()static DeleteResponseDeleteOperation. execute(ConnectionFactory factory, DeleteRequest request)Executes a delete request.DeleteResponseDeleteOperation. execute(DeleteRequest request)Executes a delete request.static ModifyDnResponseModifyDnOperation. execute(ConnectionFactory factory, ModifyDnRequest request)Executes a modify DN request.ModifyDnResponseModifyDnOperation. execute(ModifyDnRequest request)Executes a modify DN request.static ModifyResponseModifyOperation. execute(ConnectionFactory factory, ModifyRequest request)Executes a modify request.ModifyResponseModifyOperation. execute(ModifyRequest request)Executes a modify request.SOperation. execute(Q request)Sends an asynchronous request and waits for the response.default SOperationHandle. execute()Convenience method that invokesOperationHandle.send()followed byOperationHandle.await().SearchResponseSearchOperation. execute()Executes a search request usingSearchOperation.getRequest().SearchResponseSearchOperation. execute(String filter)Executes a search request.SearchResponseSearchOperation. execute(String filter, String... returnAttributes)Executes a search request.SearchResponseSearchOperation. execute(String filter, String[] returnAttributes, LdapEntryHandler... handlers)Executes a search request.SearchResponseSearchOperation. execute(String baseDN, String filter, String[] returnAttributes, LdapEntryHandler... handlers)Executes a search request.SearchResponseSearchOperation. execute(String baseDN, Filter filter, String[] returnAttributes, LdapEntryHandler... handlers)Executes a search request.SearchResponseSearchOperation. execute(String baseDN, FilterTemplate template, String[] returnAttributes, LdapEntryHandler... handlers)Executes a search request.static SearchResponseSearchOperation. execute(ConnectionFactory factory, SearchRequest req)Executes a search request.SearchResponseSearchOperation. execute(Filter filter)Executes a search request.SearchResponseSearchOperation. execute(Filter filter, String... returnAttributes)Executes a search request.SearchResponseSearchOperation. execute(Filter filter, String[] returnAttributes, LdapEntryHandler... handlers)Executes a search request.SearchResponseSearchOperation. execute(FilterTemplate template)Executes a search request.SearchResponseSearchOperation. execute(FilterTemplate template, String... returnAttributes)Executes a search request.SearchResponseSearchOperation. execute(FilterTemplate template, String[] returnAttributes, LdapEntryHandler... handlers)Executes a search request.SearchResponseSearchOperation. execute(SearchRequest req)default SearchResponseSearchOperationHandle. execute()ConnectionConnectionFactory. getConnection()Creates a new connection.ResultBindConnectionInitializer. initialize(Connection c)ResultConnectionInitializer. initialize(Connection conn)Initialize the supplied connection.voidSingleConnectionFactory. initialize()Prepares this factory for use.private voidSingleConnectionFactory. initializeConnectionProxy()Opens the connection and creates the connection proxy.private voidSingleConnectionFactory. initializeInternal()Attempts to open the connection and establish the proxy.voidConnection. open()Opens the connection.BindResponseConnection. operation(DefaultSaslClientRequest request)Returns the result of a SASL request that requires use of the default SASL client.BindResponseConnection. 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.CompareOperationHandleCompareOperation. send(CompareRequest request)Sends a compare request.static CompareOperationHandleCompareOperation. 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.SearchOperationHandleSearchOperation. send()Sends a search request.SearchOperationHandleSearchOperation. send(String filter)Sends a search request.SearchOperationHandleSearchOperation. send(String filter, String... returnAttributes)Sends a search request.SearchOperationHandleSearchOperation. send(String filter, String[] returnAttributes, LdapEntryHandler... handlers)Sends a search request.SearchOperationHandleSearchOperation. send(String baseDN, String filter, String[] returnAttributes, LdapEntryHandler... handlers)Sends a search request.SearchOperationHandleSearchOperation. send(String baseDN, Filter filter, String[] returnAttributes, LdapEntryHandler... handlers)Sends a search request.SearchOperationHandleSearchOperation. send(String baseDN, FilterTemplate template, String[] returnAttributes, LdapEntryHandler... handlers)Sends a search request.static SearchOperationHandleSearchOperation. send(ConnectionFactory factory, SearchRequest req)Sends a search request.SearchOperationHandleSearchOperation. send(Filter filter)Sends a search request.SearchOperationHandleSearchOperation. send(Filter filter, String... returnAttributes)Sends a search request.SearchOperationHandleSearchOperation. send(Filter filter, String[] returnAttributes, LdapEntryHandler... handlers)Sends a search request.SearchOperationHandleSearchOperation. send(FilterTemplate template)Sends a search request.SearchOperationHandleSearchOperation. send(FilterTemplate template, String... returnAttributes)Sends a search request.SearchOperationHandleSearchOperation. send(FilterTemplate template, String[] returnAttributes, LdapEntryHandler... handlers)Sends a search request.SearchOperationHandleSearchOperation. 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 ResultFastBindConnectionInitializer. 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 SchemaSchemaFactory. createSchema(ConnectionFactory factory)Creates a new schema.static SchemaSchemaFactory. createSchema(ConnectionFactory factory, String entryDn)Creates a new schema.private static SchemaSchemaFactory. createSchema(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 AuthenticationHandlerResponseAbstractAuthenticationHandler. authenticate(AuthenticationCriteria ac)AuthenticationHandlerResponseAggregateAuthenticationHandler. authenticate(AuthenticationCriteria criteria)AuthenticationHandlerResponseAuthenticationHandler. authenticate(AuthenticationCriteria criteria)Perform an ldap authentication.private AuthenticationResponseAuthenticator. authenticate(String dn, AuthenticationRequest request)Validates input and performs authentication using anAuthenticationHandler.AuthenticationResponseAuthenticator. authenticate(AuthenticationRequest request)Authenticate the user in the supplied request.protected abstract AuthenticationHandlerResponseAbstractAuthenticationHandler. authenticateInternal(Connection c, AuthenticationCriteria criteria)Authenticate on the supplied connection using the supplied criteria.protected AuthenticationHandlerResponseCompareAuthenticationHandler. authenticateInternal(Connection c, AuthenticationCriteria criteria)protected AuthenticationHandlerResponseSimpleBindAuthenticationHandler. authenticateInternal(Connection c, AuthenticationCriteria criteria)private byte[]CompareAuthenticationHandler. digestCredential(Credential credential, String algorithm)Digests the supplied credential using the supplied algorithm.voidAddControlAuthenticationRequestHandler. handle(String dn, AuthenticationRequest request)voidAggregateAuthenticationResponseHandler. handle(AuthenticationResponse response)voidAuthenticationRequestHandler. handle(String dn, AuthenticationRequest request)Handle the request for an ldap authentication.voidAuthenticationResponseHandler. handle(AuthenticationResponse response)Handle the response from an ldap authentication.protected abstract SearchResponseAbstractSearchEntryResolver. performLdapSearch(AuthenticationCriteria criteria, AuthenticationHandlerResponse response)Executes an ldap search with the supplied authentication criteria.protected SearchResponseAuthorizationIdentityEntryResolver. performLdapSearch(AuthenticationCriteria criteria, AuthenticationHandlerResponse response)protected SearchResponseSearchDnResolver. performLdapSearch(FilterTemplate template)Executes the ldap search operation with the supplied filter.SearchResponseSearchEntryResolver. performLdapSearch(AuthenticationCriteria criteria, AuthenticationHandlerResponse response)protected SearchResponseWhoAmIEntryResolver. performLdapSearch(AuthenticationCriteria criteria, AuthenticationHandlerResponse response)private AuthenticationRequestAuthenticator. processRequest(String dn, AuthenticationRequest request)Creates a new authentication request applying any applicable configuration on this authenticator.LdapEntryAbstractSearchEntryResolver. resolve(AuthenticationCriteria criteria, AuthenticationHandlerResponse response)StringAggregateDnResolver. resolve(User user)LdapEntryAggregateEntryResolver. resolve(AuthenticationCriteria criteria, AuthenticationHandlerResponse response)StringDnResolver. resolve(User user)Attempts to find the LDAP DN for the supplied user.LdapEntryEntryResolver. resolve(AuthenticationCriteria criteria, AuthenticationHandlerResponse response)Attempts to find the LDAP entry for the supplied authentication criteria and authentication handler response.StringFormatDnResolver. resolve(User user)Returns a DN for the supplied user by applying it to a format string.StringNoOpDnResolver. resolve(User user)Returns the user as the DN.StringSearchDnResolver. resolve(User user)Attempts to find the DN for the supplied user.StringAuthenticator. resolveDn(User user)This will attempt to find the DN for the supplied user.private LdapEntryAuthenticator. 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 AddResponseDefaultLdapEntryManager. add(T object)AddResponseDefaultLdapEntryManager. add(T object, ResultPredicate predicate)Adds the supplied annotated object to an LDAP.AddResponseLdapEntryManager. add(T object)Adds the supplied annotated object to an LDAP.DeleteResponseDefaultLdapEntryManager. delete(T object)DeleteResponseDefaultLdapEntryManager. delete(T object, ResultPredicate predicate)Deletes the supplied annotated object from an LDAP.DeleteResponseLdapEntryManager. delete(T object)Deletes the supplied annotated object from an LDAP.TDefaultLdapEntryManager. find(T object)TLdapEntryManager. find(T object)Searches for the supplied annotated object in an LDAP and returns the object mapped with its ldap attribute properties set.ResultDefaultLdapEntryManager. merge(T object)ResultDefaultLdapEntryManager. merge(T object, ResultPredicate predicate)Merges the supplied annotated object in an LDAP.ResultLdapEntryManager. 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 SearchResponsePagedResultsClient. execute(SearchRequest request)Performs a search operation with thePagedResultsControl.SearchResponsePagedResultsClient. execute(SearchRequest request, CookieManager manager)Performs a search operation with thePagedResultsControl.SearchResponsePagedResultsClient. execute(SearchRequest request, SearchResponse result)Performs a search operation with thePagedResultsControl.SearchResponseVirtualListViewClient. execute(SearchRequest request, VirtualListViewParams params)Performs a search operation with theVirtualListViewRequestControl.SearchResponseVirtualListViewClient. execute(SearchRequest request, VirtualListViewParams params, SearchResponse result)Performs a search operation with theVirtualListViewRequestControl.SearchResponsePagedResultsClient. executeToCompletion(SearchRequest request)Performs a search operation with thePagedResultsControl.SearchResponsePagedResultsClient. executeToCompletion(SearchRequest request, CookieManager manager)Performs a search operation with thePagedResultsControl.SearchResponseVirtualListViewClient. executeToCompletion(SearchRequest request, VirtualListViewParams params)Performs a search operation with theVirtualListViewRequestControl.SearchOperationHandlePersistentSearchClient. send(SearchRequest request)Performs an async search operation with thePersistentSearchRequestControl.SearchOperationHandleSyncReplClient. send(SearchRequest request)SearchOperationHandleSyncReplClient. 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 ResultMergeOperation. add(MergeRequest request, LdapEntry entry)Executes anAddOperationfor the supplied entry.protected ResultMergeOperation. delete(MergeRequest request, LdapEntry entry)Executes aDeleteOperationfor the supplied entry.ResultMergeOperation. execute(MergeRequest request)Executes a merge request.protected ResultMergeOperation. modify(MergeRequest request, LdapEntry source, LdapEntry target)Retrieves the attribute modifications fromLdapEntry.computeModifications(LdapEntry, LdapEntry)and executes aModifyOperationwith those results. -
Uses of LdapException in org.ldaptive.extended
Methods in org.ldaptive.extended that throw LdapException Modifier and Type Method Description ExtendedResponseExtendedOperationHandle. await()static ExtendedResponseExtendedOperation. execute(ConnectionFactory factory, ExtendedRequest request)Executes an extended request.ExtendedResponseExtendedOperation. execute(ExtendedRequest request)Executes an extended request.default ExtendedResponseExtendedOperationHandle. execute()static ExtendedOperationHandleExtendedOperation. send(ConnectionFactory factory, ExtendedRequest request)Sends an extended request.ExtendedOperationHandleExtendedOperation. 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 classFilterParseExceptionException that indicates an invalid filter string. -
Uses of LdapException in org.ldaptive.handler
Subclasses of LdapException in org.ldaptive.handler Modifier and Type Class Description classAbandonOperationExceptionException thrown by a handler that indicates the operation should be abandoned.Methods in org.ldaptive.handler that throw LdapException Modifier and Type Method Description protected SearchResponseRecursiveResultHandler. performSearch(String baseDn, String[] attrs)Perform an object scope search on the supplied baseDN and retrieve the supplied return attributes.private voidRecursiveResultHandler. readSearchAttribute(LdapEntry entry, List<String> searchedDns)Reads the values ofRecursiveResultHandler.searchAttributefrom the supplied attributes and callsRecursiveResultHandler.recursiveSearch(java.lang.String, org.ldaptive.LdapEntry, java.util.List<java.lang.String>)for each.private voidRecursiveResultHandler. recursiveSearch(String dn, LdapEntry entry, List<String> searchedDns)Recursively gets the attribute(s)RecursiveResultHandler.mergeAttributesfor the supplied dn and adds the values to the supplied attributes.default voidResultPredicate. 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 classActivationExceptionThrown when an attempt to activate a pooled connection fails.classBlockingTimeoutExceptionThrown when a blocking operation times out.classPoolExceptionBase exception thrown when a pool operation fails.classPoolExhaustedExceptionThrown when the pool is empty and no new requests can be serviced.classValidationExceptionThrown when an attempt to validate a pooled connection fails. -
Uses of LdapException in org.ldaptive.referral
Methods in org.ldaptive.referral that throw LdapException Modifier and Type Method Description protected SAbstractFollowReferralHandler. followReferral(String[] referralUrls)Follows the supplied referral URLs in random order until a SUCCESS or REFERRAL_LIMIT_EXCEEDED occurs. -
Uses of LdapException in org.ldaptive.schema
Subclasses of LdapException in org.ldaptive.schema Modifier and Type Class Description classSchemaParseExceptionException that indicates a schema element string could not be parsed.Methods in org.ldaptive.schema that throw LdapException Modifier and Type Method Description static SchemaSchemaFactory. createSchema(ConnectionFactory factory)Creates a new schema.static SchemaSchemaFactory. createSchema(ConnectionFactory factory, String entryDn)Creates a new schema.static LdapEntrySchemaUtils. 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 LdapExceptionDefaultOperationHandle. exceptionException encountered attempting to process the request.Methods in org.ldaptive.transport with parameters of type LdapException Modifier and Type Method Description voidDefaultOperationHandle. abandon(LdapException cause)Abandons this operation.voidDefaultOperationHandle. exception(LdapException e)protected voidDefaultOperationHandle. notifyExceptionHandlers(LdapException e)Invokes any configured exception handlers with the supplied exception.voidHandleMap. notifyOperationHandles(LdapException e)Notifies all operation handles in the queue that an exception has occurred.Methods in org.ldaptive.transport that throw LdapException Modifier and Type Method Description private voidHandleMap. acquireThrottle()Attempt to acquire the throttle semaphore.SDefaultOperationHandle. await()SearchResponseDefaultSearchOperationHandle. await()BindResponseScramSaslClient. bind(TransportConnection conn, ScramBindRequest request)Performs a SCRAM SASL bind.protected voidDefaultOperationHandle. evaluateThrowCondition(Result r)InvokesDefaultOperationHandle.throwCondition, if it exists, for the supplied result.voidTransportConnection. open()protected abstract voidTransportConnection. open(LdapURL url)Attempt to open a connection to the supplied LDAP URL.protected SDefaultOperationHandle. processReferralResult(S original, ReferralResultHandler<S> handler)Invokes the supplied referral result handler and returns the result of that handler.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.protected voidTransportConnection. reopen(RetryMetadata metadata)Method to support reopening a connection that was previously established.protected voidTransportConnection. 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 that throw LdapException Modifier and Type Method Description protected voidNettyConnection.MessageDecoder. decode(io.netty.channel.ChannelHandlerContext ctx, io.netty.buffer.ByteBuf in, List<Object> out)BindResponseNettyConnection.BindOperationHandle. execute()protected voidNettyConnection. open(LdapURL url)private voidNettyConnection. openInitialize(LdapURL url)Initializes this connection for use after it has been established.(package private) ResultNettyConnection. operation(StartTLSRequest request)Performs a startTLS operation.BindResponseNettyConnection. operation(DefaultSaslClientRequest request)Performs a SASL client bind operation.BindResponseNettyConnection. operation(SaslClientRequest request)Performs a SASL bind operation that uses a custom client.protected BindResponseNettyConnection.BindOperationHandle. processReferralResult(BindResponse done, ReferralResultHandler<BindResponse> handler)private voidNettyConnection. throwIfClosed()Throws an exception if the Netty channel is closed.
-