|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface CredentialAuthenticator
Credential authenticator used for authenticate base on stored credentials.
Method Summary | |
---|---|
boolean |
authenticate(Object value,
Object encryptedValue)
Authenticate provided value against encrypted stored value. |
Object |
encryptCredential(Object credential)
Encrypt provided credential value with one of algorithms Base64, SHA-1, etc. |
Base64 |
getBase64()
This method returns Base64 encoder. |
Method Detail |
---|
Object encryptCredential(Object credential)
credential
- to be encrypted.
boolean authenticate(Object value, Object encryptedValue)
value
- to be check against encrypted Value.encryptedValue
- encrypted value.
Base64 getBase64()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |