Class SecureVaultLookupHandlerImpl
java.lang.Object
org.wso2.carbon.mediation.security.vault.SecureVaultLookupHandlerImpl
- All Implemented Interfaces:
SecureVaultLookupHandler
-
Method Summary
Modifier and TypeMethodDescriptionMethod to evaluate the parameters passed to extract values from secure-vault lookupevaluate(String aliasPasword, SecretSrcData secretSrcData, org.apache.synapse.MessageContext synCtx) Method to evaluate the parameters passed to extract values from secure-vault lookupstatic SecureVaultLookupHandlerImplprotected booleanChecks whether the given repository already existing.
-
Method Details
-
getDefaultSecurityService
public static SecureVaultLookupHandlerImpl getDefaultSecurityService() throws org.wso2.carbon.registry.core.exceptions.RegistryException- Throws:
org.wso2.carbon.registry.core.exceptions.RegistryException
-
isRepoExists
protected boolean isRepoExists()Checks whether the given repository already existing.- Returns:
-
getProviderClass
-
evaluate
public String evaluate(String aliasPasword, SecretSrcData secretSrcData, org.apache.synapse.MessageContext synCtx) throws org.wso2.carbon.registry.core.exceptions.RegistryException Description copied from interface:SecureVaultLookupHandlerMethod to evaluate the parameters passed to extract values from secure-vault lookup- Specified by:
evaluatein interfaceSecureVaultLookupHandler- Parameters:
aliasPasword-secretSrcData- Information about the secret- Returns:
- Throws:
org.wso2.carbon.registry.core.exceptions.RegistryException
-
evaluate
public String evaluate(String aliasPasword, org.apache.synapse.MessageContext synCtx) throws org.wso2.carbon.registry.core.exceptions.RegistryException Description copied from interface:SecureVaultLookupHandlerMethod to evaluate the parameters passed to extract values from secure-vault lookup- Specified by:
evaluatein interfaceSecureVaultLookupHandler- Parameters:
aliasPasword-- Returns:
- Throws:
org.wso2.carbon.registry.core.exceptions.RegistryException
-