Class HashiCorpVaultLookupFunction
- java.lang.Object
-
- org.wso2.carbon.mediation.security.vault.external.hashicorp.HashiCorpVaultLookupFunction
-
- All Implemented Interfaces:
org.jaxen.Function
public class HashiCorpVaultLookupFunction extends Object implements org.jaxen.Function
Implements the XPath extension function hashicorp:vault-lookup(alias).
-
-
Constructor Summary
Constructors Constructor Description HashiCorpVaultLookupFunction(org.apache.synapse.MessageContext synCtx)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Object
call(org.jaxen.Context context, List args)
Returns the string value of the property which is get from the corresponding context to the provided scope.
-
-
-
Method Detail
-
call
public Object call(org.jaxen.Context context, List args) throws org.jaxen.FunctionCallException
Returns the string value of the property which is get from the corresponding context to the provided scope. vault-lookup('xxx')- Specified by:
call
in 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
-
-