|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.bluestream.xdb.SimpleAuthInfo
Client-side authentication info container. The object is created with a plain-text password, but is stored as an MD5 hash. NOTE: Once constructed, this object is read-only.
| Field Summary |
| Fields inherited from interface com.bluestream.xdb.AuthenticationInfo |
c_realm |
| Constructor Summary | |
SimpleAuthInfo()
Default authorization constructor. |
|
SimpleAuthInfo(String userName,
String password)
Constructor. |
|
| Method Summary | |
void |
deserialize(DataInputStream din)
|
boolean |
equals(Object obj)
|
String |
getEncryptedPassword()
Returns the password as an ASCII padded MD5 hash. |
String |
getUserName()
Returns the user name which this object was initialized with. |
void |
serialize(DataOutputStream byteOut)
|
| Methods inherited from class java.lang.Object |
clone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public SimpleAuthInfo(String userName,
String password)
public SimpleAuthInfo()
AuthenticationInfo object with the default
username and password.
| Method Detail |
public String getEncryptedPassword()
getEncryptedPassword in interface AuthenticationInfopublic String getUserName()
getUserName in interface AuthenticationInfo
public void serialize(DataOutputStream byteOut)
throws IOException,
XDBException
serialize in interface AuthenticationInfoIOException
XDBExceptionpublic void deserialize(DataInputStream din)
public boolean equals(Object obj)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||