public static interface Credentials.Checker
| Modifier and Type | Method and Description |
|---|---|
boolean |
check(Credentials credentials,
String crypt)
Check some credentials with a given crypt.
|
void |
reportError(String message,
String crypt,
Exception e)
Report an error, typically when a bad parameter was set to the hasher,
or when no suitable hasher were found for a given crypt.
|
boolean check(Credentials credentials, String crypt)
credentials - The credentials to check, that must contain at
least the password.crypt - The crypt to compare with.true when the credentials matches the
crypt, false otherwise. When false
is returned, an error may have been reported.reportError(String, String, Exception)Copyright © 2018 Alternet. All rights reserved.