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.
-Original Message-
From: Gerald Gutierrez [SMTP:[EMAIL PROTECTED]]
Sent: 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
al 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.jsp
they get
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/he
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
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
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
Your web-resource-collection is a bit wrong (I think).
Try this instead:
web-resource-collection
web-resource-nameLoginTrigger/web-resource-name
descriptionLoginTrigger/description
url-pattern/path/to/protected/resources/url-pattern