Uploaded image for project: 'HAL'
  1. HAL
  2. HAL-1648

JDBC Realm (Elytron) - attribute mappings cannot be removed from configuration

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • 3.2.6.Final
    • None
    • None
    • None

      When opening
      Configuration => Subsystems => Configuration => Security (Elytron) => Security Realms => JDBC Realm => Principal Query
      the field "Attribute Mapping" shows only the first attribute

      via cli this looks correct

      /subsystem=elytron/jdbc-realm=MySqlJDBCRealm:read-resource
      {
      "outcome" => "success",
      "result" => {"principal-query" => [{
      "sql" => "SELECT u.password, r.role FROM users u, roles r WHERE u.username =? AND u.username = r.username",
      "data-source" => "MySQLTestDS",
      "attribute-mapping" => [

      { "to" => "groups", "index" => 2 }

      ],
      "clear-password-mapper" =>

      {"password-index" => 1}

      }]}
      }

        1. Console.png
          31 kB
          Wolfgang Mayer
        2. query.png
          34 kB
          Wolfgang Mayer

              mpetrov@redhat.com Michal Petrov
              mayerw Wolfgang Mayer (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: