|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.ibm.ram.client.RAMPassword
public class RAMPassword
RAM secure password processing.
This is not totally secure. Users must secure where they place the password file or encrypted password. Otherwise someone could use it without knowing the real password. So this must be stored just as secure as real password.
| Constructor Summary | |
|---|---|
RAMPassword(java.io.File passwordFile)
Construct with a password file. |
|
RAMPassword(java.lang.String encryptedPW)
Construct with an encrypted password. |
|
| Method Summary | |
|---|---|
static void |
createPasswordFile(java.lang.String password,
java.io.File passwordFile)
Create a password file with given unencrypted password. |
static java.lang.String |
getEncryptedPassword(java.lang.String password)
Get the password encrypted. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public RAMPassword(java.io.File passwordFile)
passwordFile - public RAMPassword(java.lang.String encryptedPW)
encryptedPW - | Method Detail |
|---|
public static java.lang.String getEncryptedPassword(java.lang.String password)
Would then use RAMPassword(String) to have internally unecrypted for use in RAMSession,
password -
public static void createPasswordFile(java.lang.String password,
java.io.File passwordFile)
throws RAMRuntimeException
password - the passwordpasswordFile - the file to write to.
RAMRuntimeException
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||