netscape.ldap
Interface LDAPBind
- LDAPSaslBind
public interface LDAPBind
Performs explicit bind processing on a referral. A client may
specify an instance of this class for use on a single operation
(through the LDAPConstraints
object) or all operations
(through LDAPConnection.setOption()
). It is typically used
to control the authentication mechanism used on implicit referral
handling.
void | bind(LDAPConnection conn) - This method is called by
LDAPConnection when
authenticating.
|
bind
public void bind(LDAPConnection conn)
throws LDAPException
This method is called by 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.
The bind method can also interact with a user or external module.
conn
- an established connection to an LDAP server
netscape.ldap.LDAPConnection.bind