public abstract class LocalVerifier extends SecretVerifier
RESULT_INVALID, RESULT_MISSING, RESULT_STALE, RESULT_UNKNOWN, RESULT_UNSUPPORTED, RESULT_VALID
Constructor and Description |
---|
LocalVerifier() |
Modifier and Type | Method and Description |
---|---|
abstract char[] |
getLocalSecret(java.lang.String identifier)
Returns the local secret associated to a given identifier.
|
int |
verify(java.lang.String identifier,
char[] secret)
Verifies that the identifier/secret couple is valid.
|
compare, createUser, getIdentifier, getSecret, verify
public abstract char[] getLocalSecret(java.lang.String identifier)
identifier
- The identifier to lookup.public int verify(java.lang.String identifier, char[] secret)
SecretVerifier
verify
in class SecretVerifier
identifier
- The user identifier to match.secret
- The provided secret to verify.Copyright © 2005-2024 Restlet.