|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface PasswordEncryptor
Strategy used for encrypting and matching encrypted passwords. The purpose is to make the password encryption possible to extend.
| Method Summary | |
|---|---|
java.lang.String |
encrypt(java.lang.String password)
Encrypts the password |
boolean |
matches(java.lang.String passwordToCheck,
java.lang.String storedPassword)
Matches an encrypted password with that stored |
| Method Detail |
|---|
java.lang.String encrypt(java.lang.String password)
password - The clear text password
boolean matches(java.lang.String passwordToCheck,
java.lang.String storedPassword)
passwordToCheck - The encrypted password to checkstoredPassword - The stored password
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||