[jboss-user] [JBoss Portal] - isUserInRole returning hardcoded false
klj62
do-not-reply at jboss.com
Wed Nov 1 15:35:17 EST 2006
JBoss Portal Version 2.2.1 SP3 downloaded
JBoss AS Version 4.0.4 GA
OS Platform Windows XP
>From JSPs, the request.isUserInRole("rolename") is returning false. We discovered that this is hardcoded to "return false" in the DispatchedHttpServletRequest class. We located the method being called by stepping through the debugger in Eclipse. This isn't the behavior we expected, but is it done for a reason?
package org.jboss.portal.portlet.impl;
public class DispatchedHttpServletRequest implements HttpServletRequest
{
. . . .
public boolean isUserInRole(String s)
{
return false;
}
. . . .
}
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3982463#3982463
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3982463
More information about the jboss-user
mailing list