I did look at the code for DataBaseServerLoginModule which calls 
Util.getRoleSets(...) method.

====
String name = rs.getString(1);
            String groupName = rs.getString(2);
            if( groupName == null || groupName.length() == 0 )
               groupName = "Roles";
            Group group = (Group) setsMap.get(groupName);
            if( group == null )
            {
               group = new SimpleGroup(groupName);
               setsMap.put(groupName, group);
            }
====

It is retriving the group name from the DB and creating the Group properly.  
So, I should be expecting the rolesquery to rerive group name.
sorry, if am I missing something ? 

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3914480#3914480

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3914480


-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
_______________________________________________
JBoss-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to