: Thursday, February 01, 2001 4:34 PM
> > To: Orion-Interest
> > Subject: Re: Form Login bouncing me to welcome page!
> >
> > I agree that is the correct sequence, but that is not what I get. Assume I
> >
> > have a welcome file defined called welc
bruary 01, 2001 4:34 PM
> To: Orion-Interest
> Subject: Re: Form Login bouncing me to welcome page!
>
> I agree that is the correct sequence, but that is not what I get. Assume I
>
> have a welcome file defined called welcome.jsp.
>
> The sequence of events is:
All I can guess is that your /Login.jsp contains a redirect to "/", which
will then show your welcome file, if you have one declared.
What happens if you remove the security constraint and THEN request
/Login.jsp? If you STILL get the welcome page, then security clearly isn't
the problem.
Ni
Your is a bit wrong (I think).
Try this instead:
LoginTrigger
LoginTrigger
/path/to/protected/resources
/another/path/to/protected/resources
GET
POST
At least this is how I do it, and it works for me :
The sequence of events is:
- The user requests a secured page (/Login.jsp, in your case).
- The server intercepts the request and redirects to the form-based login
page (LoginForm.jsp)
- If the user logs in successfully, the server allows the original
request to proceed (ie. Login.jsp is d
I agree that is the correct sequence, but that is not what I get. Assume I
have a welcome file defined called welcome.jsp.
The sequence of events is:
- User requests secured page /Login.jsp
- User is redirected to LoginForm.jsp
- User enters correct credentials
- User is logged in
- User is dis
So, when the user is going to http://host:port/yourapp/Login.jsp
they get redirected to LoginForm.jsp.
They then authenticate and should see the resource they requested
(ie: http://host:port/yourapp/Login.jsp) - is this what you mean by the
welcome page ??
Hope that helps
Is your welcome jsp a protected resource? That should fix it.
Matt
Gerald Gutierrez wrote:
> I've searched the mailing list, but there doesn't seem to be information on
> this. I'm a little desparate now.
>
> I'm using a form-based login for my web application. When a user hits
> Login.jsp, s/
-
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]On Behalf Of Angus Mark
Sent: Thursday, February 01, 2001 4:23 AM
To: Orion-Interest
Subject: RE: Form Login bouncing me to welcome page!
So, when the user is going to http://host:port/yourapp/Login.j