[jboss-user] [JBoss Portal] - Re: isUserInRole doesnt work in jsp

hubertg do-not-reply at jboss.com
Thu Sep 28 04:31:44 EDT 2006


ok, my fault:

i have to use portletRequest variable instead of request.
and therefore I have to insert the defineObjects tag.

this works now (returns true as is should):


  | <portlet:defineObjects/>
  | <% out.println("jsp in role      : " + renderRequest.isUserInRole("student")); %>	

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

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



More information about the jboss-user mailing list