You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Gerry Duhig <ge...@nectar.demon.co.uk> on 2001/10/02 19:29:15 UTC
Can I do this in login.jsp?
I want login.jsp to
take the user input username and pasword,
pass them to a servlet to carry out some specialist actions including
writing a cookie
then pass the input to j_security_check so that authentication takes place.
Is that possible? Anyone got an example I can see?
Gerry
Re: Can I do this in login.jsp?
Posted by Iwan <ir...@yahoo.com>.
Yes it is possible. In your jsp, you can have a form with an action that
call the servlet to create the cookie/validate the user id and password.
I personally don't like to save the password in the cookie as I don't feel
that the right thing to do.
At 09:01 AM 10/3/2001 +0100, you wrote:
>I didn't see any answers! Does that mean its not possible? Or is just not
>the right thing to do?
>
>I really need to get something sorted soon.
>
>Help! Desperation creeping in here!
>
>Thanks
>
>Gerry
>
>----- Original Message -----
> > I want login.jsp to
> >
> > take the user input username and pasword,
> >
> > pass them to a servlet to carry out some specialist actions including
> > writing a cookie
> >
> > then pass the input to j_security_check so that authentication takes
>place.
> >
> > Is that possible? Anyone got an example I can see?
> >
> > Gerry
> >
> >
_________________________________________________________
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com
Re: Can I do this in login.jsp?
Posted by Gerry Duhig <ge...@nectar.demon.co.uk>.
I didn't see any answers! Does that mean its not possible? Or is just not
the right thing to do?
I really need to get something sorted soon.
Help! Desperation creeping in here!
Thanks
Gerry
----- Original Message -----
From: "Gerry Duhig" <ge...@nectar.demon.co.uk>
To: <to...@jakarta.apache.org>
Sent: Tuesday, October 02, 2001 6:29 PM
Subject: Can I do this in login.jsp?
> I want login.jsp to
>
> take the user input username and pasword,
>
> pass them to a servlet to carry out some specialist actions including
> writing a cookie
>
> then pass the input to j_security_check so that authentication takes
place.
>
> Is that possible? Anyone got an example I can see?
>
> Gerry
>
>