tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "McCay, Larry" <LMc...@Bluestone.com>
Subject RE: Form based auth
Date Wed, 28 Feb 2001 05:55:17 GMT
vVolf,

I have observed the same behavior on 3.1 and 3.2.1.

I am going to dig in a little deeper to see what security functionality is
supported at all.

thanks,

-larry 

-----Original Message-----
From: uthay
To: tomcat-user@jakarta.apache.org
Sent: 2/27/01 11:47 AM
Subject: Re: Form based auth

> hmmmmm, according to servlet specification v2.2:

If you are using servlet then you dont need the extension.
But if your context is say webapps/xxx/
and you have j_security_check.class inside xxx/WEB-INF
then you may want to try
xxx/j_security_check


Uthay


----- Original Message -----
From: "Herchel Wojciech" <W.Herchel@pzuzycie.com.pl>
To: <tomcat-user@jakarta.apache.org>
Sent: Tuesday, February 27, 2001 4:03 PM
Subject: ODP: Form based auth


> hmmmmm, according to servlet specification v2.2:
> "11.5.3.1 Login Form Notes
> ...the action of the login form must always be "j_security_check"..."
> furthermore, according to tomcat docs, it (tomcat) complies with that!
> and it works when i'm testing it on win95+tomcat. but when i moved it
on
my
> company's server (linux) it does not, resulting in said error.
> anybody?
>
> vVolf
>
>
> >
> > Is your file "j_security_check" a jsp file or servlet
> > If jsp where is the extension!
> > If servlet you may want to make sure you are giving the
> > correct context
> > path.
> >
> >
> >
> >
> >
> > ----- Original Message -----
> > From: "Herchel Wojciech" <W.Herchel@pzuzycie.com.pl>
> > To: "'Tomcat'" <tomcat-user@jakarta.apache.org>
> > Sent: Tuesday, February 27, 2001 3:14 PM
> > Subject: Form based auth
> >
> >
> > > Hi all!
> > >
> > > How come would Tomcat (Apache?) return 404 Error while trying to
> > > authenticate via form? apparently it does not recognise
> > "j_security_check".
> > > anybody has got any idea?
> > > here's my code (login.jsp):
> > >
> > > <div align="center">
> > > <form method="POST" action="j_security_check" >
> > > <table cellspacing=4>
> > >     <tr>
> > >       <td colspan=2 class="aaa">Please log in</td>
> > >     </tr>
> > >     <tr>
> > >       <td class="lewe">Username:</td>
> > >       <td><input type="text" name="j_username"></td>
> > >     </tr>
> > >     <tr>
> > >       <td class="lewe">Password:</td>
> > >       <td><input type="password" name="j_password"></td>
> > >     </tr>
> > >     <tr>
> > >       <td colspan=2 class="aaa"><input type="submit" value="Log
in"
> > > name="j_security_check"></td>
> > >     </tr>
> > > </table>
> > > </form>
> > > </div>
> > >
> > > and i'm getting 404 Error.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
> For additional commands, email: tomcat-user-help@jakarta.apache.org
>
>


---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, email: tomcat-user-help@jakarta.apache.org

Mime
View raw message