|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.directory.shared.asn1.AbstractAsn1Object
org.apache.directory.shared.ldap.codec.bind.LdapAuthentication
org.apache.directory.shared.ldap.codec.bind.SimpleAuthentication
public class SimpleAuthentication
A ldapObject which stores the Simple authentication for a BindRequest.
| Field Summary |
|---|
| Fields inherited from class org.apache.directory.shared.asn1.AbstractAsn1Object |
|---|
parent |
| Constructor Summary | |
|---|---|
SimpleAuthentication()
|
|
| Method Summary | |
|---|---|
int |
computeLength()
Compute the Simple authentication length Simple authentication : 0x80 L1 simple L1 = Length(simple) Length(Simple authentication) = Length(0x80) + Length(L1) + Length(simple) |
java.nio.ByteBuffer |
encode(java.nio.ByteBuffer buffer)
Encode the simple authentication to a PDU. |
byte[] |
getSimple()
Get the simple password |
void |
setSimple(byte[] simple)
Set the simple password |
java.lang.String |
toString()
Return the simple authentication as a string |
| Methods inherited from class org.apache.directory.shared.asn1.AbstractAsn1Object |
|---|
addLength, getCurrentLength, getExpectedLength, getParent, getTlvId, setCurrentLength, setExpectedLength, setParent |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public SimpleAuthentication()
Asn1Object#Asn1Object| Method Detail |
|---|
public byte[] getSimple()
public void setSimple(byte[] simple)
simple - The simple passwordpublic int computeLength()
computeLength in interface Asn1ObjectcomputeLength in class AbstractAsn1Object
public java.nio.ByteBuffer encode(java.nio.ByteBuffer buffer)
throws EncoderException
encode in interface Asn1Objectencode in class AbstractAsn1Objectbuffer - The buffer where to put the PDU
EncoderExceptionpublic java.lang.String toString()
toString in class java.lang.Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||