Another possibility is that user is not authenticated :)

On 19/07/07, Andrea Chiumenti <[EMAIL PROTECTED]> wrote:
and maybe your web.xml is not correct!

On 7/19/07, Jesse Kuhnert <[EMAIL PROTECTED]> wrote:
>
> First - you should be able to "inject" that request object instead of
> going
> through so many get<Foo> calls:
>
> public abstract WebRequest getRequest();
>
> Define that property and it will all work magically. ..
>
> I have no idea why isUserInRole wouldn't work though - it's just a wrapper
> that hands the method call off directly to the servlet container so I'd
> check with whatever servlet container you are using to figure out what
> isn't
> happening correctly.
>
> On 7/18/07, Alexa22 <[EMAIL PROTECTED]> wrote:
> >
> >
> > Hi,
> > I have a problem, I'm developing a Tapestry's aplication and
> > I need to active the security in there, but the page is autenticated
> > by WAS (WebShere A lication Server), I asked to the role's server to
> this
> > way:
> >
> > admin1 =
> >
> >
> getRequestCycle().getRequestContext().getRequest().isUserInRole("MMC_ADMIN");
> >
> > But, always it's false. Do you have any idea to solved it?
> > --
> > View this message in context:
> > http://www.nabble.com/security-in-Tapestry-tf4107361.html#a11680154
> > Sent from the Tapestry - User mailing list archive at Nabble.com.
> >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
> >
> >
>
>
> --
> Jesse Kuhnert
> Tapestry/Dojo team member/developer
>
> Open source based consulting work centered around
> dojo/tapestry/tacos/hivemind. http://blog.opencomponentry.com
>



--
Best regards,
Renat Zubairov

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to