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

The "Security Domain/Cache type: Database" password encryption configuration is not persisted when selecting base64 encoding

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Not a Bug
    • Icon: Blocker Blocker
    • None
    • None
    • Installer
    • None
    • False
    • None
    • False
    • Hide
      1. Start the installer
      2. Reach the Security Domain Configuration screen and select "Database" as the value for the Cache type field.
      3. Select "salted-simple-digest" for the Password encryption field
      4. Leave the default configuration in place move ahead till the installation is complete.

      The configuration file contains the following principal-query definition:

      <principal-query sql="gxgdfgdgsadfd" data-source="ExampleDS">
                              <attribute-mapping>
                                  <attribute to="groups" index="2"/>
                              </attribute-mapping>
                              <salted-simple-digest-mapper password-index="1" salt-index="3" />
                          </principal-query>
      

      which is missing the hash-encoding and salt-encoding values (base64). They instead appear in the configuration when setting the value hex for them.

      <principal-query sql="gxgdfgdgsadfd" data-source="ExampleDS">
                              <attribute-mapping>
                                  <attribute to="groups" index="2"/>
                              </attribute-mapping>
                              <salted-simple-digest-mapper password-index="1" salt-index="3" hash-encoding="hex" salt-encoding="hex"/>
                          </principal-query>
      
      
      Show
      Start the installer Reach the Security Domain Configuration screen and select "Database" as the value for the Cache type field. Select "salted-simple-digest" for the Password encryption field Leave the default configuration in place move ahead till the installation is complete. The configuration file contains the following principal-query definition: <principal-query sql= "gxgdfgdgsadfd" data-source= "ExampleDS" > <attribute-mapping> <attribute to= "groups" index= "2" /> </attribute-mapping> <salted-simple-digest-mapper password-index= "1" salt-index= "3" /> </principal-query> which is missing the hash-encoding and salt-encoding values ( base64 ). They instead appear in the configuration when setting the value hex for them. <principal-query sql= "gxgdfgdgsadfd" data-source= "ExampleDS" > <attribute-mapping> <attribute to= "groups" index= "2" /> </attribute-mapping> <salted-simple-digest-mapper password-index= "1" salt-index= "3" hash-encoding= "hex" salt-encoding= "hex" /> </principal-query>

      The Hash encoding and Salt encoding configuration is not persisted if set to base64 when configuring a security domain with a database authentication cache type that allows encrypted passwords.

            rhn-support-rbudinsk Rastislav Budinský
            fburzigo Fabio Burzigotti
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: