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

    XMLWordPrintable

Details

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

    Description

      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>

      Attachments

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: