ODP: Form based auth

2001-03-04 Thread Herchel Wojciech

hey!

i did exactly as described and got 404 error. i know j_security_check is not
a class that i should provide. and i'm using tomcat 3.2.1. any ideas?

vVolf


> -Oryginalna wiadomooeæ-
> Od: Craig R. McClanahan [mailto:[EMAIL PROTECTED]]
> Wys³ano: 2 marca 2001 20:32
> Do: [EMAIL PROTECTED]
> DW: 'uthay '
> Temat: Re: Form based auth
> 
> 
> "McCay, Larry" wrote:
> 
> > 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.
> >
> 
> Form based security was not supported in Tomcat 3.1, but is 
> supported in 3.2
> and 4.0.
> 
> Note that you do ***not*** provide a "j_security_check" 
> class.  That URI is
> handled by Tomcat.  The only thing your webapp includes 
> related to security is
> a form login page and a form error page.
> 
> See the "examples" application included with Tomcat.  It uses 
> form-based
> security to protect the following URL:
> 
> http://localhost:8080/examples/jsp/security/protected
> 
> 
> >
> > thanks,
> >
> > -larry
> >
> 
> Craig McClanahan
> 
> 
> 
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, email: [EMAIL PROTECTED]
> 

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




ODP: Form based auth

2001-02-27 Thread Herchel Wojciech

oops, i don't really have j_security_check class, i thought it is taken care
of by tomcat...

vVolf


> -Oryginalna wiadomość-
> Od: uthay [mailto:[EMAIL PROTECTED]]
> Wysłano: 27 lutego 2001 17:48
> Do: [EMAIL PROTECTED]
> Temat: Re: Form based auth
> 
> 
> 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
> 
> 
> > > > 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):
> > > >
> > > > 
> > > > 
> > > > 
> > > > 
> > > >   Please log in
> > > > 
> > > > 
> > > >   Username:
> > > >   
> > > > 
> > > > 
> > > >   Password:
> > > >   
> > > > 
> > > > 
> > > >value="Log in"
> > > > name="j_security_check">
> > > > 
> > > > 
> > > > 
> > > > 
> > > >
> > > > and i'm getting 404 Error.
> >
> > 

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




ODP: Form based auth

2001-02-27 Thread Herchel Wojciech

hm, 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" <[EMAIL PROTECTED]>
> To: "'Tomcat'" <[EMAIL PROTECTED]>
> 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):
> >
> > 
> > 
> > 
> > 
> >   Please log in
> > 
> > 
> >   Username:
> >   
> > 
> > 
> >   Password:
> >   
> > 
> > 
> >> name="j_security_check">
> > 
> > 
> > 
> > 
> >
> > and i'm getting 404 Error.

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