PROTECTED]
Sent: Thursday, February 13, 2003 5:38 PM
Subject: RE: Login problems (still)
for logout, you can simple invalidate your session.
if you need to keep the session around after invalidating it, just create a
new one and populate data to it
Filip
-Original Message-
From: Sloan
[EMAIL PROTECTED]
To: 'Tomcat Users List' [EMAIL PROTECTED]
Sent: Friday, February 14, 2003 8:45 AM
Subject: RE: Login problems (still)
use the Session.invalidate() method
Try looking at the j2ee api.
Hamish
-Original Message-
From: Sloan Seaman [mailto:[EMAIL PROTECTED]]
Sent
I'm attempting to do form based security and I keep getting a 404 error when
I click the submit button.
I'm guessing I'm missing some type of configuration in the server.xml.
The form I am using is:
form method=POST action=j_security_check
input type=text name=j_username/
input
in that's listed as being secure. You will then be forwarded to the
login page. When you've logged in successfully then you will be forwarded
to
the page you originally requested.
Hamish
-Original Message-
From: Sloan Seaman [mailto:[EMAIL PROTECTED]]
Sent: Thursday, February 13, 2003 3
and define a page for a successful login?
Thanks!
--
Sloan
- Original Message -
From: Sloan Seaman [EMAIL PROTECTED]
To: Tomcat Users List [EMAIL PROTECTED]
Sent: Thursday, February 13, 2003 10:01 AM
Subject: Re: Form based security
I have a filter set up so that if they don't go
to the page
they originally asked for (i.e. the default page).
You don't need a filter to do this. Tomcat does it automatically for you.
Hamish
-Original Message-
From: Sloan Seaman [mailto:[EMAIL PROTECTED]]
Sent: Thursday, February 13, 2003 4:32 PM
To: Tomcat Users List
security
No struts doesn't have a security model of its own but it does make it
considerably easier to build your own if that's the path you want to go
down
-Original Message-
From: Sloan Seaman [mailto:[EMAIL PROTECTED]]
Sent: Thursday, February 13, 2003 4:52 PM
To: Tomcat Users
but it does make it
considerably easier to build your own if that's the path you want to go
down
-Original Message-
From: Sloan Seaman [mailto:[EMAIL PROTECTED]]
Sent: Thursday, February 13, 2003 4:52 PM
To: Tomcat Users List
Subject: Re: Form based security
Ok, I've got
-
From: Sloan Seaman [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Wednesday, February 12, 2003 3:23 PM
Subject: Log4J and tomcat
I'm deploying a war file using tomcat and I wish to use Apache's common
logging api to log things (log4j behind the scenes).
For some reason my configuration
a servlet that loads on startup that uses the log4j method to
define
the path to your prop file, in the init().
-Original Message-
From: Sloan Seaman [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, February 12, 2003 3:23 PM
To: [EMAIL PROTECTED]
Subject: Log4J and tomcat
I'm deploying
-
From: Sloan Seaman [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, February 12, 2003 3:23 PM
To: [EMAIL PROTECTED]
Subject: Log4J and tomcat
I'm deploying a war file using tomcat and I wish to use Apache's common
logging api to log things (log4j behind the scenes).
For some reason my
Ok, so I kind of have login authentication working to where I want it to
work.
But here is the next question?
How do they logout/login again?
What I did was have an index.jsp page have a link to a location within a
security-context. So if they click on it it asks them to login and then
I'm deploying a war file using tomcat and I wish to use Apache's common
logging api to log things (log4j behind the scenes).
For some reason my configuration file seems to be getting ignored but my
log.info msgs are showing up in the console window for Tomcat.
Can someone tell me why this is
13 matches
Mail list logo