0 Replies Latest reply on Mar 3, 2015 8:35 AM by erasmomarciano

    WildFly 8.2.0 authenticating user

    erasmomarciano

      Hi

       

      I just configured WildFly 8.2.0 with MongoDB.

       

      Now I have this scenary:

       

      I modified MangementRealm

                           .......

                  <security-realm name="ManagementRealm">

                      <authentication>

                                 <jaas name="mongo-auth"/>

                         </authentication>

                  </security-realm>

                       ....

       

      I enabled rbac

       

        <access-control provider="rbac">

                  <role-mapping>

                      <role name="SuperUser">

                          <include>

                              <user name="$local"/>

                              <user alias="administrator" name="administrator"/>

                          </include>

                      </role>

                      <role name="Deployer">

                      <include>

                              <group name="Manager"/>

                          </include>

              </role>

                  </role-mapping>

              </access-control>

       

      When I try with jboss-clis i can do a Login correct:

       

      You are disconnected at the moment. Type 'connect' to connect to the server or 'help' for the list of supported commands.

      [disconnected /] connect

      Username: erasmo

      [standalone@localhost:9990 /]

       

      When try to do a Login via WebConsole I get this Error:

       

      Insufficient privileges to access this interface.

       

       

       

      Why there is this difference?

       

      Thank You