Class SecretCipherHander


  • public class SecretCipherHander
    extends Object
    Entry point for manage secrets
    • Constructor Detail

      • SecretCipherHander

        public SecretCipherHander​(org.apache.synapse.MessageContext synCtx)
    • Method Detail

      • getSecret

        public String getSecret​(String alias)
        Returns the secret corresponding to the given alias name
        Parameters:
        alias - The logical or alias name
        Returns:
        If there is a secret , otherwise , alias itself
      • getEncryptedData

        public String getEncryptedData​(String alias)
        Returns the encrypted value corresponding to the given alias name
        Parameters:
        alias - The logical or alias name
        Returns:
        If there is a encrypted value , otherwise , alias itself
      • shoutDown

        public void shoutDown()
      • getSynCtx

        public org.apache.synapse.MessageContext getSynCtx()
      • setSynCtx

        public void setSynCtx​(org.apache.synapse.MessageContext synCtx)