|
Directory SDK for Java 4.19 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnetscape.ldap.LDAPSaslBind
Authenticates to a server using SASL
| Constructor Summary | |
LDAPSaslBind(String dn,
String[] mechanisms,
String packageName,
Hashtable props,
Object cbh)
Construct an object which can authenticate to an LDAP server using the specified name and a specified SASL mechanism. |
|
| Method Summary | |
void |
bind(LDAPConnection ldc)
Authenticates to the LDAP server (that the object is currently connected to) using the parameter that were provided to the constructor. |
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public LDAPSaslBind(String dn,
String[] mechanisms,
String packageName,
Hashtable props,
Object cbh)
dn - if non-null and non-empty, specifies that the connection and
all operations through it should authenticate with dn as the
distinguished namemechanisms - array of mechanism names, e.g. { "GSSAPI", "SKEY" }props - optional additional properties of the desired
authentication mechanism, e.g. minimum security levelcbh - a class which may be called by the SASL framework to
obtain additional required information| Method Detail |
public void bind(LDAPConnection ldc)
throws LDAPException
bind in interface LDAPBindldc - an active connection to a server, which will have
the new authentication state on return from the method
LDAPException - Failed to authenticate to the LDAP server.LDAPConnection.bind(java.lang.String, java.lang.String)
|
Directory SDK for Java 4.19 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||