]
Kevin
Kevin Andryc
Web Systems Engineer
MISER
http://www.umass.edu/miser/
Phone: (413)-545-3460
[EMAIL PROTECTED]
-Original Message-
From: Kevin Andryc [mailto:[EMAIL PROTECTED]]
Sent: Thursday, July 04, 2002 05:31 PM
To: Tomcat Users List
Subject: RE: j_security_check question
OK,
So I found that I can access my servlet if I don't use the
RequestDispatcher .forward method. In other words, when I try and access my
page (e.g.: http://localhost:8080/dev/servlet/ProtectedPage) I get a login
JSP form that I specified. When I login successfully,the login page
reappears
[mailto:[EMAIL PROTECTED]]
Sent: Tuesday, July 02, 2002 04:48 PM
To: 'Tomcat Users List'
Subject: RE: j_security_check question
No can do-ski. The container needs to know where to send the user upon
successful authentication, but if your application presents a form to a user
that gets submitted
%
}
}
%
/body
/html
Kevin Andryc
Web Systems Engineer
MISER
http://www.umass.edu/miser/
Phone: (413)-545-3460
[EMAIL PROTECTED]
-Original Message-
From: John Gregg [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, July 02, 2002 04:48 PM
To: 'Tomcat Users List'
Subject: RE: j_security_check question
, 2002 11:56 AM
To: Tomcat Users List; [EMAIL PROTECTED]
Subject: RE: j_security_check question
OK, so here is where I am at. I have such that, when a user tries to access
a servlet (e.g.: http://localhost:8080/dev/servlet/ProtectedPage) they get
forwarded to a Login JSP page specified by my
On Wed, 3 Jul 2002, John Gregg wrote:
Date: Wed, 3 Jul 2002 12:59:57 -0500
From: John Gregg [EMAIL PROTECTED]
Reply-To: Tomcat Users List [EMAIL PROTECTED],
[EMAIL PROTECTED]
To: 'Tomcat Users List' [EMAIL PROTECTED]
Subject: RE: j_security_check question
Hmmm. Your auth
I am using a servlet as a login form that uses j_security_check. When
submitted I would like it to return back to the same servlet with the person
now authenticated except that it gives me the error:
Type Status report
message Invalid direct reference to form login page
description The request
Does it load the login form for you?
-Original Message-
From: Kevin Andryc [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, July 02, 2002 11:45 AM
To: Tomcat Users List
Subject: j_security_check question
I am using a servlet as a login form that uses j_security_check. When
submitted I would
/miser/
Phone: (413)-545-3460
[EMAIL PROTECTED]
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, July 02, 2002 12:58 PM
To: [EMAIL PROTECTED]
Subject: RE: j_security_check question
Does it load the login form for you?
-Original Message-
From
form, and finally the container sends you to the original resource you
requested.
john
-Original Message-
From:
[EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED].
org]On Behalf Of Kevin Andryc
Sent: Tuesday, July 02, 2002 12:09 PM
To: Tomcat Users List
Subject: RE: j_security_check question
When
: RE: j_security_check question
Is CustomLogin a resource at a protected URL, or is it a servlet that itself
spits out a login page? You can't access j_security_check directly.
Instead, you need to access a protected URL, the container sees that you're
not logged-in and redirects you to the login
-
From:
[EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED].
org]On Behalf Of Kevin Andryc
Sent: Tuesday, July 02, 2002 1:40 PM
To: Tomcat Users List; [EMAIL PROTECTED]
Subject: RE: j_security_check question
CustomLogin.class is a resource at a protected URL which also contains the
login form. So here
-Oryginalna wiadomooe-
Od: Thomas Riemer [mailto:[EMAIL PROTECTED]]
Most likely you are missing a JkMount statement.
You need to tell your web server that /j_security_check exists.
JkMount /j_security_check ajp12
where do i put that? mod_jk.conf? do i have to restart apache?
Working with apache and tomcat found a problem with j_security_check
using jdbcrealm.
As j_security_check is an URI handled by tomcat and no (separate) class
exists, apache complains with no found error (seeking for
j_security_check) trying to check us/pswd. Is there any way to use
form-based
Most likely you are missing a JkMount statement.
You need to tell your web server that /j_security_check exists.
JkMount /j_security_check ajp12
Carlos Alonso wrote:
Working with apache and tomcat found a problem with j_security_check
using jdbcrealm.
As j_security_check is an URI handled
15 matches
Mail list logo