Class SecureVaultResolver


  • public class SecureVaultResolver
    extends Object
    Check the secret alias match with the vaultLookupPattern regex.
    • Method Detail

      • checkVaultLookupPattersExists

        public static boolean checkVaultLookupPattersExists​(String aliasSecret)
        Check the secret alias match with the vaultLookupPattern regex.
        Parameters:
        aliasSecret - Value of secret alias
        Returns:
        boolean state of the pattern existence.
      • resolve

        public static String resolve​(SynapseEnvironment synapseEnvironment,
                                     String value)
        Convert the secret alias to the actual password using synapse message context.
        Parameters:
        synapseEnvironment - synapse environment
        value - Value of password from DBMediator
        Returns:
        the actual password from the Secure Vault Password Management.