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

jdbc.datasource.xa.recoverypass is stored in plaintext form (auto.xml)

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • 7.0.0.ER4
    • 7.0.0.ER3
    • Installer
    • None

      JDBC XA datasource user password value in automatic installation script use plain text value. Autoprompt should be used for this (same as we use for all password values).

      reproduce

      • Select "Install JDBC Driver" and "Install Datasource" from runtime environment configuration options
      • On Datasource setup screen, select Datasource type to be XA, enter some valid values and finish the installation
      • Generate installation scrip

      actual

      ...
      <entry key="jdbc.datasource.xa" value="Datasource XA"/>
      <entry key="jdbc.datasource.xa.recoveryuser" value="master"/>
      <entry key="jdbc.datasource.xa.recoverypass" value="asdasd@2"/>
      ...
      

      expected

      ...
      <entry key="jdbc.datasource.xa" value="Datasource XA"/>
      <entry key="jdbc.datasource.xa.recoveryuser" value="master"/>
      <entry autoPrompt="true" key="jdbc.datasource.xa.recoverypass"/>
      ...
      

              thauser_jira Thomas Hauser (Inactive)
              pkremens@redhat.com Petr Kremensky (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: