|
DLESE Tools v1.6.0 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.dlese.dpc.schemedit.security.login.Utils
public class Utils
Utility methods for com.myjaas.auth.*. All the methods in here are static so Utils should never be instantiated.
Method Summary | |
---|---|
static char[] |
cryptPassword(char[] pwd)
Perform MD5 hashing on the supplied password and return a char array containing the encrypted password as a printable string. |
static void |
smudge(byte[] pwd)
Zero the contents of the specified array. |
static void |
smudge(char[] pwd)
Zero the contents of the specified array. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static void smudge(char[] pwd)
pwd
- the array to zeropublic static void smudge(byte[] pwd)
pwd
- the array to zeropublic static char[] cryptPassword(char[] pwd) throws Exception
pwd
- The password to encrypt
Exception
|
DLESE Tools v1.6.0 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |