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 TypeMethodDescriptionvoidbind(LDAPConnection conn) This method is called byLDAPConnectionwhen authenticating.
-
Method Details
-
bind
This method is called byLDAPConnectionwhen authenticating. An implementation ofLDAPBindmay access the host, port, credentials, and other information in theLDAPConnectionin 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:
-