Class RegistrySecretRepository
java.lang.Object
org.wso2.carbon.mediation.security.vault.RegistrySecretRepository
- All Implemented Interfaces:
org.wso2.securevault.secret.SecretRepository
public class RegistrySecretRepository
extends Object
implements org.wso2.securevault.secret.SecretRepository
Holds all secrets in a file
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetEncryptedData(String alias) org.wso2.securevault.secret.SecretRepositoryorg.apache.synapse.MessageContextvoidinit(Properties arg0, String arg1) voidsetParent(org.wso2.securevault.secret.SecretRepository parent) voidsetSynCtx(org.apache.synapse.MessageContext synCtx)
-
Constructor Details
-
RegistrySecretRepository
public RegistrySecretRepository()
-
-
Method Details
-
getSecret
- Specified by:
getSecretin interfaceorg.wso2.securevault.secret.SecretRepository- Parameters:
alias- Alias name for look up a secret- Returns:
- Secret if there is any , otherwise ,alias itself
- See Also:
-
getEncryptedData
- Specified by:
getEncryptedDatain interfaceorg.wso2.securevault.secret.SecretRepository- Parameters:
alias- Alias name for look up a encrypted Value- Returns:
- encrypted Value if there is any , otherwise ,alias itself
- See Also:
-
setParent
public void setParent(org.wso2.securevault.secret.SecretRepository parent) - Specified by:
setParentin interfaceorg.wso2.securevault.secret.SecretRepository
-
getParent
public org.wso2.securevault.secret.SecretRepository getParent()- Specified by:
getParentin interfaceorg.wso2.securevault.secret.SecretRepository
-
getSynCtx
public org.apache.synapse.MessageContext getSynCtx() -
setSynCtx
public void setSynCtx(org.apache.synapse.MessageContext synCtx) -
init
- Specified by:
initin interfaceorg.wso2.securevault.secret.SecretRepository
-