public interface LdapClient extends Closeable
connection
to a Directory Server.
LDAP clients can wrap other LDAP clients in order to provide enhanced capabilities in a manner which is transparent
to the application. For example:
LDAP clients can be created using constructors provided by the LdapClients
class.
Modifier and Type | Method and Description |
---|---|
void |
close()
Releases any resources associated with this LDAP client.
|
Single<LdapClientSocket> |
connect()
Returns a
Single which connects to a peer each time it is subscribed. |
Single<LdapClientSocket> connect()
Single
which connects to a peer each time it is subscribed.Single
which connects to a peer each time it is subscribed.void close()
close
on an LDAP client which is already closed has no effect.
Applications should avoid closing LDAP clients while there are remaining active sockets in use or connection attempts in progress.
close
in interface AutoCloseable
close
in interface Closeable
Copyright 2010-2022 ForgeRock AS.