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

[GSS](8.0.z) HAL-1987 - HAL - changing profile has no effect when configuring JDBC Realm "Security Realm" on domain mode

XMLWordPrintable

    • False
    • None
    • False
    • Hide
      1. Add management user by add-user.sh
      2. Start EAP 8.0.3 domain mode and login the management console.
      3. Click "Configuration" tab.
      4. Click "Profiles" in "Configuration" column -> "ha" in "Profiles" -> "Security(Elytron)" in "Subsystem" -> "Security Realms" in "Settings", and then click "View".
      5. Select "JDBC Realm" in "Security Realm", and click "Add" in the right pane.
      6. Input sample parameters in "Add JDBC Realm" dialog as follows, then click "Add".
        • Name : test
        • Data Source : ExampleDS
        • SQL : select password, null from TEST.USER where username = ?
      7. After "test" is added in the table, click "Principal Query" button which is located in the far right of row in the table.
      8. "Principal Query" is displayed.(It seems the page is cached here)
      9. Click "<<Back" on the top left.
      10. Select "default" in "Profile" column, then click "Security(Elytron)" in "Subsystem" -> "Security Realms" in "Settings", and then click "View"
      11. Select "JDBC Realm" in "Security Realm", "Principal Query"(same as Step.8) is displayed.

      At step 10, the breadcrumb list shows "Configuration ⇒ Profiles / Profiles⇒ ha/ Subsystem⇒ Security / Settings⇒ Security Realms" even if "default" profile is selected. And selecting other profle in the breadcrumb list("Profiles") does not work(Internal error).

      Show
      Add management user by add-user.sh Start EAP 8.0.3 domain mode and login the management console. Click "Configuration" tab. Click "Profiles" in "Configuration" column -> "ha" in "Profiles" -> "Security(Elytron)" in "Subsystem" -> "Security Realms" in "Settings", and then click "View". Select "JDBC Realm" in "Security Realm", and click "Add" in the right pane. Input sample parameters in "Add JDBC Realm" dialog as follows, then click "Add". Name : test Data Source : ExampleDS SQL : select password, null from TEST.USER where username = ? After "test" is added in the table, click "Principal Query" button which is located in the far right of row in the table. "Principal Query" is displayed.(It seems the page is cached here) Click "<<Back" on the top left. Select "default" in "Profile" column, then click "Security(Elytron)" in "Subsystem" -> "Security Realms" in "Settings", and then click "View" Select "JDBC Realm" in "Security Realm", "Principal Query"(same as Step.8) is displayed. At step 10, the breadcrumb list shows "Configuration ⇒ Profiles / Profiles⇒ ha/ Subsystem⇒ Security / Settings⇒ Security Realms" even if "default" profile is selected. And selecting other profle in the breadcrumb list("Profiles") does not work(Internal error).

      When configuring "JDBC Realm" and check its "Principal Query", the page(Principal Query) seems to be cached. Once the page is cached, selecting other profile and then viewing "Security Realms", the cached page is displayed.
      The expected behavior is that the page is not cached and "Security Realms" in other profile can be viewed correctly.

            chaowan@redhat.com Chao Wang
            rhn-support-mkawakam Manabu Kawakami
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated: