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

hubertg do-not-reply at jboss.com
Thu Sep 28 03:57:41 EDT 2006


hi,

[jboss-portal bundle 2.4]

i have a portlet which dispatches to a jsp to render the output.

now my problem:

within the portlet i can execute

aRequest.isUserInRole("student"));

this returns true because the given user is a student.

but wihin the jsp 

  | <% out.println("jsp in role      : " + request.isUserInRole("student")); %>

always returns false.

is there a problem with the implicit request object within the jsp? do I have to declare my role somewhere else?? ... i really have no idea what I could try.

thanks for any hints.

/r 
hubert

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

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



More information about the jboss-user mailing list