Problem in j_security_check
- From: Prashant Saraf <xprotection (at) gmail.com>
- Date: Fri, 3 Feb 2006 20:59:57 +0530
filnaly it done thanks 4 all
On 2/3/06, David Delbecq <delbd (at) oma.be> wrote:
>
> Everything that correspond to the security-constraint on your web.xml is
> 'protected' and need authentification.
> When you are authenticated, field request.getRemoteUser() is not null
> anymore.
> Be carefull,
>
> <url-pattern>/saraf/*</url-pattern>
>
> in security constraint mean the secure area is
> http://<server>/saraf/saraf/*
>
> If your secure area is
> http://<server>/saraf/protected/*
> then the url pattern is /protected/*
>
> Prashant Saraf a écrit :
>
> >i think problem should be web.xml but still it gives following problem
> >1)You are logged in as remote user *null* in session *
> >2AD5AC97008551CE1EDD510E06AE6E1F
> >
> >*WHICH SHOULD NOT*
> >* 2)how should tomcat know that protected is protected
> >
> >
> >
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe (at) tomcat.apache.org
> For additional commands, e-mail: users-help (at) tomcat.apache.org
>
>
--
Cup of Java + Suger of XML = Secure WebApp