I have configured the login-config.xml with my own datasource..
Also, written the queries that points to my 'end_user' and 'roll_mstr' tables.
But, all I am getting is 'No username found in Principal'..
It is always firing my query in Principal tables.
My data source is well configured..
whats wrong ?
could you please provide more details on your configuration?
I assume that you activated logging (as shown in post 2 of this thread http://www.jboss.org/index.html?module=bb&op=viewtopic&t=154228) and checked that JBoss picks your security domain and your login module, and that your queries are executed?
Hope this helps