Class HashiCorpVaultLookupFunction
java.lang.Object
org.wso2.carbon.mediation.security.vault.external.hashicorp.HashiCorpVaultLookupFunction
- All Implemented Interfaces:
org.jaxen.Function
Implements the XPath extension function hashicorp:vault-lookup(alias).
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
HashiCorpVaultLookupFunction
public HashiCorpVaultLookupFunction(org.apache.synapse.MessageContext synCtx)
-
-
Method Details
-
call
Returns the string value of the property which is get from the corresponding context to the provided scope. vault-lookup('xxx')- Specified by:
callin interfaceorg.jaxen.Function- Parameters:
context- the context at the point in the expression when the function is calledargs- arguments of the functions- Returns:
- The string value of a property
- Throws:
org.jaxen.FunctionCallException- throws FunctionCallException when error occurs
-