Perhaps you need to look at your rolesQuery. The result-set from this query should return role-name and role-group-name (which I have hard-coded to 'Roles').
So maybe you could try something like: select RoleName, 'Roles' from UserRoles where username=? View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3855185#3855185 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3855185 ------------------------------------------------------- This SF.Net email is sponsored by: InterSystems CACHE FREE OODBMS DOWNLOAD - A multidimensional database that combines robust object and relational technologies, making it a perfect match for Java, C++,COM, XML, ODBC and JDBC. www.intersystems.com/match8 _______________________________________________ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user