It is not clear form your email if your JSPs under SecurityFilter's
mapping?
So if you have mapping like this
<filter-mapping>
<filter-name>SecurityFilter</filter-name>
<url-pattern>/do/*</url-pattern>
</filter-mapping>
and access your jsp like this:
/index.jsp
It is correct behavior then.
Alex.
> -----Original Message-----
> From: Bailey, Shane C. [mailto:[EMAIL PROTECTED]
> Sent: Thursday, July 24, 2003 3:01 PM
> To: [EMAIL PROTECTED]
> Subject: [OT] isUserInRole problem
>
>
>
> The strangest thing is happening. To set it up: I am using JRun4 and
> SecurityFilter
>
> If any type of code (e.g. <logic:present role="Admin"> ,
<req:isUserInRole
> role="Admin"> etc.) tries to do a call which eventually goes
>
> to the SecurityFilter method isUserInRole(principle,role) from within
a
> JSP
> then I it always returns false and my logging statements in
>
> my SecurityFilter method aren't called (i.e. it doesn't go in there I
> guess).
>
>
>
> But if I do a request.isUserInRole("Admin") from within an Action then
it
> returns the correct result.
>
>
>
> Has anyone seen this before?
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]