|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectca.bc.gov.webade.developer.security.PasswordService
Password encryption service.
| Method Summary | |
boolean |
compare(java.lang.String plaintext,
java.lang.String encripted)
Compare a plain text string to an encrypted version of that string. |
java.lang.String |
encrypt(java.lang.String plaintext)
Encrypt a plain text string. |
static PasswordService |
getInstance()
Get the Singleton instance of the PasswordService. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
public java.lang.String encrypt(java.lang.String plaintext)
throws WebADEDeveloperException
plaintext - The string to encrypt.
WebADEDeveloperException - Thrown if any falure occurs during
encryption.
public boolean compare(java.lang.String plaintext,
java.lang.String encripted)
throws WebADEDeveloperException
plaintext - Plain text stringencripted - Encripted string
WebADEDeveloperException - Thrown if any falure occurs during
encryption.public static PasswordService getInstance()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||