|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectde.bielefeld.umweltamt.aui.utils.MD5Password
public class MD5Password
Constructor Summary | |
---|---|
MD5Password()
|
Method Summary | |
---|---|
static java.lang.String |
getEncodedPassword(java.lang.String clearTextPassword)
Encodes a password into a md5-String. |
static boolean |
testPassword(java.lang.String clearTextTestPassword,
java.lang.String encodedActualPassword)
Checks if a given clear-text password matches a stored md5-password. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public MD5Password()
Method Detail |
---|
public static java.lang.String getEncodedPassword(java.lang.String clearTextPassword)
clearTextPassword
- The clear-text password.
public static boolean testPassword(java.lang.String clearTextTestPassword, java.lang.String encodedActualPassword)
clearTextTestPassword
- The clear-text password to try.encodedActualPassword
- The stored, md5-encoded password.
true
, if the passwords match, false
otherwise.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |