public class FileBaseSecretRepository extends Object implements SecretRepository
| Constructor and Description |
|---|
FileBaseSecretRepository(IdentityKeyStoreWrapper identity,
TrustKeyStoreWrapper trust) |
| Modifier and Type | Method and Description |
|---|---|
SecretRepository |
getParent()
Returns the parent secret repository
|
String |
getSecret(String alias)
Returns the secret of provided alias name .
|
void |
init(Properties properties,
String id)
Initializes the repository based on provided properties
|
void |
setParent(SecretRepository parent)
Sets the parent secret repository
Secret Repositories are made a chain so that , one can get a secret from other.
|
public FileBaseSecretRepository(IdentityKeyStoreWrapper identity, TrustKeyStoreWrapper trust)
public void init(Properties properties, String id)
init in interface SecretRepositoryproperties - Configuration propertiesid - Identifier to identify properties related to the corresponding repositorypublic String getSecret(String alias)
SecretRepositorygetSecret in interface SecretRepositoryalias - Alias name for look up a secretSecretRepositorypublic void setParent(SecretRepository parent)
SecretRepositorysetParent in interface SecretRepositoryparent - Parent secret repositorypublic SecretRepository getParent()
SecretRepositorygetParent in interface SecretRepositoryCopyright © 2005-2017 Apache Software Foundation. All Rights Reserved.