public interface LDAPBind
LDAPConstraints
object) or all operations
(through LDAPConnection.setOption()
). It is typically used
to control the authentication mechanism used on implicit referral
handling.Modifier and Type | Method and Description |
---|---|
void |
bind(LDAPConnection conn)
This method is called by
LDAPConnection when
authenticating. |
void bind(LDAPConnection conn) throws LDAPException
LDAPConnection
when
authenticating. An implementation of LDAPBind
may access
the host, port, credentials, and other information in the
LDAPConnection
in order to decide on an appropriate
authentication mechanism.conn
- an established connection to an LDAP serverLDAPException
LDAPConnection.bind(java.lang.String, java.lang.String)