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

RBAC host slave administrator is not able to log in web console

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Blocker
    • 7.1.0.DR14
    • 7.1.0.DR13
    • Web Console
    • None
    • Regression
    • Hide
      1. add user: $JBOSS_HOME/bin/add-user.sh -u 'host-slave-administrator' -p 'asd1asd!'
      2. make copy of domain directory for slave host: cp -r $JBOSS_HOME/domain $JBOSS_HOME/domain2
      3. name the slave: sed -i 's/<host/<host name="slave"/g' $JBOSS_HOME/domain2/configuration/host-slave.xml
      4. start domain controller: $JBOSS_HOME/bin/domain.sh
      5. start slave controller: $JBOSS_HOME/bin/domain.sh --host-config=host-slave.xml -Djboss.domain.base.dir=$JBOSS_HOME/domain2 -Djboss.domain.master.address=127.0.0.1 -Djboss.bind.address=127.0.0.2 -Djboss.bind.address.management=127.0.0.2 -Djboss.bind.address.unsecure=127.0.0.2
      6. using CLI setup users and switch to RBAC provider:
        /core-service=management/access=authorization/role-mapping=Administrator:add()
        /core-service=management/access=authorization/host-scoped-role=host-slave-Administrator:add(base-role=Administrator, hosts=[slave])
        /core-service=management/access=authorization/role-mapping=host-slave-Administrator:add()
        /core-service=management/access=authorization/role-mapping=host-slave-Administrator/include=host-slave-administrator:add(name=host-slave-administrator, type=user)
        /core-service=management/access=authorization:write-attribute(name=provider, value=rbac)
        reload --host=master
        reload --host=slave 
      7. Using web console try to log in as the host-slave-administrator
      Show
      add user: $JBOSS_HOME/bin/add-user.sh -u 'host-slave-administrator' -p 'asd1asd!' make copy of domain directory for slave host: cp -r $JBOSS_HOME/domain $JBOSS_HOME/domain2 name the slave: sed -i 's/<host/<host name="slave"/g' $JBOSS_HOME/domain2/configuration/host-slave.xml start domain controller: $JBOSS_HOME/bin/domain.sh start slave controller: $JBOSS_HOME/bin/domain.sh --host-config=host-slave.xml -Djboss.domain.base.dir=$JBOSS_HOME/domain2 -Djboss.domain.master.address=127.0.0.1 -Djboss.bind.address=127.0.0.2 -Djboss.bind.address.management=127.0.0.2 -Djboss.bind.address.unsecure=127.0.0.2 using CLI setup users and switch to RBAC provider: /core-service=management/access=authorization/role-mapping=Administrator:add() /core-service=management/access=authorization/host-scoped-role=host-slave-Administrator:add(base-role=Administrator, hosts=[slave]) /core-service=management/access=authorization/role-mapping=host-slave-Administrator:add() /core-service=management/access=authorization/role-mapping=host-slave-Administrator/include=host-slave-administrator:add(name=host-slave-administrator, type=user) /core-service=management/access=authorization:write-attribute(name=provider, value=rbac) reload --host=master reload --host=slave Using web console try to log in as the host-slave-administrator

    Description

      The page shows Loading... forever, nothing happens. To be able to log in as another user after this try, user has to open new private window or clear browser cookies.
      This is regression compared to EAP 7.0.0.GA.
      For domain controller scoped role I don't see such behaviour, just for the slave scoped role.

      Attachments

        Issue Links

          Activity

            People

              hpehl@redhat.com Harald Pehl
              pjelinek@redhat.com Pavel Jelinek
              Pavel Jelinek Pavel Jelinek
              Pavel Jelinek Pavel Jelinek
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: