Uploaded image for project: 'JBoss Enterprise Application Platform'
  1. JBoss Enterprise Application Platform
  2. JBEAP-5690

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

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • 7.1.0.DR6
    • 7.0.1.GA
    • 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"/>
      </vault>

            chaowan@redhat.com Chao Wang
            rhn-support-cdolphy Chris Dolphy
            Votes:
            1 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: