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

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

    XMLWordPrintable

Details

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

    Description

      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}

      }]}
      }

      Attachments

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

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: