Hi
I'am trying to customize a portlet with respect to user roles. To do so, i am
using the "isUserInRole" method. Here is a sample of my jsp code :
| <%if(request.isUserInRole("Administrators")){ %>
| <a href="<portlet:renderURL .....
| <%}%>
|
I've also tried the "renderRequest" but the result is the same: isUserInRole
always returns false, it doesn't matter the role i use to log in.
i am using jboss portal 2.4 with its default configuration.
Do i have to modify the portlet.xml file?
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4055535#4055535
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4055535
_______________________________________________
jboss-user mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/jboss-user