|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Provides encoding and comparing of user passwords.
Method Summary | |
boolean |
compare(java.lang.String encoded,
char[] plain)
Compares two passwords. |
java.lang.String |
encode(char[] password)
Encodes a single password. |
Method Detail |
public java.lang.String encode(char[] password)
Note that two subsequent calls to this method with the same argument may result in two
different strings returned. Use the compare
method therefore
for comparing the encoded password with its plain format.
password
- the password
public boolean compare(java.lang.String encoded, char[] plain)
encoded
- the encoded passwordplain
- the plain (non-encoded) password
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |