Package netscape.ldap
Interface LDAPBind
- All Known Implementing Classes:
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.-
Method Summary
Modifier and TypeMethodDescriptionvoid
bind
(LDAPConnection conn) This method is called byLDAPConnection
when authenticating.
-
Method Details
-
bind
This method is called byLDAPConnection
when authenticating. An implementation ofLDAPBind
may access the host, port, credentials, and other information in theLDAPConnection
in order to decide on an appropriate authentication mechanism.
The bind method can also interact with a user or external module.- Parameters:
conn
- an established connection to an LDAP server- Throws:
LDAPException
- See Also:
-