[jboss-user] [JBoss Portal] - Re: How to test role of a user?

natoine do-not-reply at jboss.com
Wed Oct 22 16:38:01 EDT 2008


well i have add these lines in my portlet.xml

anonymous wrote : 
  | <security-role-ref>
  | 	 <role-name>admin</role-name>
  | 	 <role-link>Administrator</role-link>
  | </security-role-ref>
  | 

But i still have a false return when i invoke the isUserInRole method.



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

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



More information about the jboss-user mailing list