public class SecureVaultResolver extends Object
Modifier and Type | Method and Description |
---|---|
static boolean |
checkVaultLookupPattersExists(String aliasSecret)
Check the secret alias match with the vaultLookupPattern regex.
|
static String |
resolve(SynapseEnvironment synapseEnvironment,
String value)
Convert the secret alias to the actual password using synapse message context.
|
public static boolean checkVaultLookupPattersExists(String aliasSecret)
aliasSecret
- Value of secret aliaspublic static String resolve(SynapseEnvironment synapseEnvironment, String value)
synapseEnvironment
- synapse environmentvalue
- Value of password from DBMediatorCopyright © 2005–2020 Apache Software Foundation. All rights reserved.