|
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.sun.jndi.ldap.sasl.LdapSasl
public final class LdapSasl
Handles SASL support.
| Method Summary | |
|---|---|
static LdapResult |
saslBind(LdapClient clnt,
Connection conn,
String server,
String dn,
Object pw,
String authMech,
Hashtable env,
Control[] bindCtls)
Performs SASL bind. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public static LdapResult saslBind(LdapClient clnt,
Connection conn,
String server,
String dn,
Object pw,
String authMech,
Hashtable env,
Control[] bindCtls)
throws IOException,
NamingException
If bind is successful and the selected SASL mechanism has a security layer, set inStream and outStream to be filter streams that use the security layer. These will be used for subsequent communication with the server.
conn - The non-null connection to use for sending an LDAP BINDserver - Non-null string name of host to connect todn - Non-null DN to bind as; also used as authentication IDpw - Possibly null password; can be byte[], char[] or StringauthMech - A non-null space-separated list of SASL authentication
mechanisms.env - The possibly null environment of the context, possibly containing
properties for used by SASL mechanismsbindCtls - The possibly null controls to accompany the bind
IOException
NamingException
|
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||