[jboss-user] [Security & JAAS/JBoss] - Re: How to return Group of Roles in getRoleSets() method

anil.saldhana@jboss.com do-not-reply at jboss.com
Tue Dec 26 17:10:12 EST 2006


  | Group grp = new SimpleGroup("Roles");
  | grp.addMember(new SimplePrincipal("role1");
  | grp.addMember(new SimplePrincipal("role2");
  | 
  | return new Group[]{grp};
  | 

This should work.

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

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



More information about the jboss-user mailing list