Class JDAPBindRequest

java.lang.Object
netscape.ldap.client.opers.JDAPBindRequest
All Implemented Interfaces:
JDAPProtocolOp

public class JDAPBindRequest extends Object implements JDAPProtocolOp
This class implements the bind request. This object is sent to the ldap server.
 BindRequest ::= [APPLICATION 0] SEQUENCE {
   version INTEGER(1..127) ,
   name LDAPDN,
   authentication CHOICE {
     simple [0] OCTET STRING,
     krbv42LDAP [1] OCTET STRING,
     krbv42DSA [2] OCTET STRING
   }
 }
 
Note that LDAPv3 bind reuqest is structured as follows:
 BindRequest ::= [APPLICATION 0] SEQUENCE {
   version INTEGER (1..127)
   name LDAPDN,
   authentication AuthenticationChoice
 }
 AuthenticationChoice ::= CHOICE {
   simple [0] OCTET STRING,
          -- 1 and 2 reserved
   sasl [3] SaslCredentials
 }
 SaslCredentials ::= SEQUENCE {
   mechanism LDAPString,
   credentials OCTET STRING
 }
 
Version:
1.0