| Author |
Keep having to login with container based authentaction.
|
Dean Chester
Ranch Hand
Joined: Jul 26, 2009
Posts: 31
|
|
Hi
I have written something using the j_security_check. Yet i keep having to login. My web.xml file looks like this:
I can get it to work if i only have a small number of jsps in the restricted in the directory.
Thanks in advance
Dean
|
 |
Sebastian Janisch
Ranch Hand
Joined: Feb 23, 2009
Posts: 1183
|
|
|
Are your users defined in the tomcat.xml file ?
|
JDBCSupport - An easy to use, light-weight JDBC framework -
|
 |
Dean Chester
Ranch Hand
Joined: Jul 26, 2009
Posts: 31
|
|
No in my database which it access as i can get logged in just when i come to do something once logged in i have to relogin.
Dean
|
 |
Sebastian Janisch
Ranch Hand
Joined: Feb 23, 2009
Posts: 1183
|
|
|
Is your session tracking working ?
|
 |
Dean Chester
Ranch Hand
Joined: Jul 26, 2009
Posts: 31
|
|
How do you mean i enabled session persistance on tomcat which uses a database and that works.
Dean
|
 |
Sebastian Janisch
Ranch Hand
Joined: Feb 23, 2009
Posts: 1183
|
|
|
I mean is your browser passing the session ID between the requests ?
|
 |
Dean Chester
Ranch Hand
Joined: Jul 26, 2009
Posts: 31
|
|
|
Yes it is.
|
 |
 |
|
|
subject: Keep having to login with container based authentaction.
|
|
|