|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface SecretRepository
Represents the abstraction 'Repository of secret' Implementation can be any type - file,jdbc
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. |
Method Detail |
---|
void init(Properties properties, String id)
properties
- Configuration propertiesid
- Identifier to identify properties related to the corresponding repositoryString getSecret(String alias)
alias
- Alias name for look up a secret
void setParent(SecretRepository parent)
parent
- Parent secret repositorySecretRepository getParent()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |