1 Reply Latest reply on Jul 17, 2005 2:17 AM by x x

    Help:  dukes bank login configuration not working

    x x Newbie

      I have the prescribed login config for dukes bank:

      <application-policy name= "dukesbank">

      <login-module code = "org.jboss.security.auth.spi.UsersRolesLoginModule" flag = "required">
      <module-option name="dsJndiName">java:/DefaultDS</module-option>
      <module-option name="principalsQuery">
      select passwd from Users where username=?
      </module-option>
      <!-- JBoss permissions are expected to have the value 'Roles' -->
      <module-option name="rolesQuery">
      select userRoles, 'Roles' from UserRoles where username=?
      </module-option>
      </login-module>

      </application-policy>

      According to the jmx-console, under jaas, the server is using the "other" login configuration.

      Could anybody advise how to troubleshoot this ?

      Thanks much.

        • 1. Re: Help:  dukes bank login configuration not working
          x x Newbie

          Forgot one thing: when I login, the "other" configuration is used. This is confirmed not only by the jmx console, but by the username/passwd that authenticates.

          I inserted another username/passwd into the data base to test the authentication config I added for dukes bank, and it wasn't recognized.

          Perhaps having the users.properties and roles.properties files still installed is confusing it ?