public class LocalizerTokenSecretManager extends SecretManager<LocalizerTokenIdentifier>
SecretManager.InvalidToken
Constructor and Description |
---|
LocalizerTokenSecretManager() |
Modifier and Type | Method and Description |
---|---|
LocalizerTokenIdentifier |
createIdentifier()
Create an empty token identifier.
|
protected byte[] |
createPassword(LocalizerTokenIdentifier identifier)
Create the password for the given identifier.
|
byte[] |
retrievePassword(LocalizerTokenIdentifier identifier)
Retrieve the password for the given token identifier.
|
checkAvailableForRead, createPassword, createSecretKey, generateSecret
protected byte[] createPassword(LocalizerTokenIdentifier identifier)
SecretManager
createPassword
in class SecretManager<LocalizerTokenIdentifier>
identifier
- the identifier to usepublic byte[] retrievePassword(LocalizerTokenIdentifier identifier) throws SecretManager.InvalidToken
SecretManager
retrievePassword
in class SecretManager<LocalizerTokenIdentifier>
identifier
- the identifier to validateSecretManager.InvalidToken
- the token was invalidpublic LocalizerTokenIdentifier createIdentifier()
SecretManager
createIdentifier
in class SecretManager<LocalizerTokenIdentifier>
Copyright © 2013 Apache Software Foundation. All rights reserved.