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 theLDAPConstraints
object) or all operations (throughLDAPConnection.setOption()
). It is typically used to control the authentication mechanism used on implicit referral handling.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
bind(LDAPConnection conn)
This method is called byLDAPConnection
when authenticating.
-
-
-
Method Detail
-
bind
void bind(LDAPConnection conn) throws LDAPException
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:
LDAPConnection.bind(java.lang.String, java.lang.String)
-
-