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