[jboss-user] [JBoss Portal] - isUserInRole method

k3nnymusic do-not-reply at jboss.com
Mon Jul 30 10:44:49 EDT 2007


I am trying to check is the current user member of the some role.
I write i.e req.isUserInRole("Admin"); or req.isUserInRole("User"); where req is the JBossRenderRequest object, and it always return false.
I checked in database in jbp_roles table and that users are exist, so why it always return me false?

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

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



More information about the jboss-user mailing list