public class MapVerifier extends LocalVerifier
RESULT_INVALID, RESULT_MISSING, RESULT_STALE, RESULT_UNKNOWN, RESULT_UNSUPPORTED, RESULT_VALID
Constructor and Description |
---|
MapVerifier()
Constructor.
|
MapVerifier(ConcurrentMap<String,char[]> localSecrets)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
char[] |
getLocalSecret(String identifier)
Returns the local secret associated to a given identifier.
|
ConcurrentMap<String,char[]> |
getLocalSecrets()
Returns the map of local secrets.
|
void |
setLocalSecrets(Map<String,char[]> localSecrets)
Sets the modifiable map of local secrets.
|
verify
compare, createUser, createUser, getIdentifier, getSecret, verify
public MapVerifier()
public MapVerifier(ConcurrentMap<String,char[]> localSecrets)
localSecrets
- The map of local secrets.public char[] getLocalSecret(String identifier)
LocalVerifier
getLocalSecret
in class LocalVerifier
identifier
- The identifier to lookup.public ConcurrentMap<String,char[]> getLocalSecrets()
Copyright © 2005–2014. All rights reserved.