|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.ibm.websphere.wim.util.PasswordUtil
public class PasswordUtil
The utility which provides helper functions related with password.
Constructor Summary | |
---|---|
PasswordUtil()
|
Method Summary | |
---|---|
static void |
erasePassword(byte[] pwdBytes)
Erase the password byte array by setting its elements to zero. |
static byte[] |
getByteArrayPassword(java.lang.String password)
Gets the byte array of the given password from uisng UTF-8 encoding. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public PasswordUtil()
Method Detail |
---|
public static byte[] getByteArrayPassword(java.lang.String password) throws WIMSystemException
password
- the string of the password to encode.
WIMSystemException
public static void erasePassword(byte[] pwdBytes)
pwdBytes
- The password bypte array to be erased.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |