|
All LDAP Classes Internal LDAP Classes |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.novell.ldap.asn1.ASN1Object
com.novell.ldap.asn1.ASN1Structured
com.novell.ldap.asn1.ASN1Sequence
com.novell.ldap.rfc2251.RfcBindRequest
public class RfcBindRequest
Represents and LDAP Bind Request.
BindRequest ::= [APPLICATION 0] SEQUENCE { version INTEGER (1 .. 127), name LDAPDN, authentication AuthenticationChoice }
Field Summary | |
---|---|
private static ASN1Identifier |
ID
ID is added for Optimization. |
Fields inherited from class com.novell.ldap.asn1.ASN1Sequence |
---|
TAG |
Constructor Summary | |
---|---|
RfcBindRequest(ASN1Integer version,
RfcLDAPDN name,
RfcAuthenticationChoice auth)
|
|
RfcBindRequest(ASN1Object[] origRequest,
java.lang.String base)
Constructs a new Bind Request copying the original data from an existing request. |
|
RfcBindRequest(int version,
java.lang.String dn,
java.lang.String mechanism,
byte[] credentials)
|
Method Summary | |
---|---|
RfcRequest |
dupRequest(java.lang.String base,
java.lang.String filter,
boolean request)
Builds a new request using the data from the this object. |
RfcAuthenticationChoice |
getAuthenticationChoice()
|
ASN1Identifier |
getIdentifier()
Override getIdentifier to return an application-wide id. |
RfcLDAPDN |
getName()
|
java.lang.String |
getRequestDN()
Builds a new request using the data from the this object. |
ASN1Integer |
getVersion()
|
void |
setAuthenticationChoice(RfcAuthenticationChoice auth)
|
void |
setName(RfcLDAPDN name)
|
void |
setVersion(ASN1Integer version)
Sets the protocol version |
Methods inherited from class com.novell.ldap.asn1.ASN1Sequence |
---|
toString |
Methods inherited from class com.novell.ldap.asn1.ASN1Structured |
---|
add, decodeStructured, encode, get, set, size, toArray, toString |
Methods inherited from class com.novell.ldap.asn1.ASN1Object |
---|
getEncoding, setIdentifier |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
private static final ASN1Identifier ID
ID needs only be one Value for every instance, thus we create it only once.
Constructor Detail |
---|
public RfcBindRequest(ASN1Integer version, RfcLDAPDN name, RfcAuthenticationChoice auth)
public RfcBindRequest(int version, java.lang.String dn, java.lang.String mechanism, byte[] credentials)
RfcBindRequest(ASN1Object[] origRequest, java.lang.String base) throws LDAPException
LDAPException
Method Detail |
---|
public final void setVersion(ASN1Integer version)
public final void setName(RfcLDAPDN name)
public final void setAuthenticationChoice(RfcAuthenticationChoice auth)
public final ASN1Integer getVersion()
public final RfcLDAPDN getName()
public final RfcAuthenticationChoice getAuthenticationChoice()
public final ASN1Identifier getIdentifier()
ID = CLASS: APPLICATION, FORM: CONSTRUCTED, TAG: 0. (0x60)
getIdentifier
in class ASN1Object
public final RfcRequest dupRequest(java.lang.String base, java.lang.String filter, boolean request) throws LDAPException
RfcRequest
dupRequest
in interface RfcRequest
LDAPException
public final java.lang.String getRequestDN()
RfcRequest
getRequestDN
in interface RfcRequest
|
All LDAP Classes Internal LDAP Classes |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |