I have the prescribed login config for dukes bank:
<application-policy name= "dukesbank">
<login-module code = "org.jboss.security.auth.spi.UsersRolesLoginModule" flag = "required">
select passwd from Users where username=?
<!-- JBoss permissions are expected to have the value 'Roles' -->
select userRoles, 'Roles' from UserRoles where username=?
According to the jmx-console, under jaas, the server is using the "other" login configuration.
Could anybody advise how to troubleshoot this ?
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 ?