[jboss-user] [Security & JAAS/JBoss] - How do I get user roles in 2.6?

nollie do-not-reply at jboss.com
Thu Aug 16 11:40:22 EDT 2007


Hello.  I'm using AS 4.2.0 and portal 2.6.


Under 2.4 there was a method roleModule#getRoles(User user) for obtaining roles for a specific user.  Now that I'm using 2.6 that method is no longer in the interface and I'm wondering how I can accomplish the same thing.

How can I determine if the current user has a certain role under 2.6?  I am currently using the LdapExtLoginModule.

   nollie


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

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



More information about the jboss-user mailing list