public class SecretManager
extends java.lang.Object
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getEncryptedData(java.lang.String alias)
Returns the encrypted value corresponding to the given alias name
|
static SecretManager |
getInstance() |
java.lang.String |
getSecret(java.lang.String alias)
Returns the secret corresponding to the given alias name
|
void |
init(java.util.Properties properties)
Initializes the Secret Manager by providing configuration properties
|
boolean |
isInitialized() |
void |
shoutDown() |
public static SecretManager getInstance()
public void init(java.util.Properties properties)
properties
- Configuration propertiespublic java.lang.String getSecret(java.lang.String alias)
alias
- The logical or alias namepublic java.lang.String getEncryptedData(java.lang.String alias)
alias
- The logical or alias namepublic boolean isInitialized()
public void shoutDown()
Copyright © 2005-2022 Apache Software Foundation. All Rights Reserved.