|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.synapse.securevault.secret.repository.FileBaseSecretRepository
public class FileBaseSecretRepository
Holds all secrets in a file
| Constructor Summary | |
|---|---|
FileBaseSecretRepository(IdentityKeyStoreWrapper identity,
TrustKeyStoreWrapper trust)
|
|
| Method Summary | |
|---|---|
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. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public FileBaseSecretRepository(IdentityKeyStoreWrapper identity,
TrustKeyStoreWrapper trust)
| Method Detail |
|---|
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)
SecretRepository
getSecret in interface SecretRepositoryalias - Alias name for look up a secret
SecretRepositorypublic void setParent(SecretRepository parent)
SecretRepository
setParent in interface SecretRepositoryparent - Parent secret repositorypublic SecretRepository getParent()
SecretRepository
getParent in interface SecretRepository
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||