Uploaded image for project: 'WildFly Core'
  1. WildFly Core
  2. WFCORE-1807

CLI config (jboss-cli.xml) is trimming vault-options when it should pass them on as is


    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • 3.0.0.Alpha9
    • 3.0.0.Alpha8
    • CLI
    • None

      Vault option is calling trim which is causing issues with custom vault implementation.
      The implementation of the vault config parser in the normal EAP config (i.e. in standalone.xml) does not do this.

      To provide more details why this is an issue, the custom impl is prepending a string to an executable command. By trimming the command is being mangled:

      <vault code="com.example.CommandVault" module="com.example">
      <vault-option name="prependToValue" value="perform_encryption.sh -value "/>
      <vault-option name="allowEmptyPassword" value="false"/>

            chaowan@redhat.com Chao Wang
            chaowan@redhat.com Chao Wang
            0 Vote for this issue
            2 Start watching this issue