• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Keep having to login with container based authentaction.

 
Dean Chester
Ranch Hand
Posts: 31
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 1183
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Are your users defined in the tomcat.xml file ?
 
Dean Chester
Ranch Hand
Posts: 31
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 1183
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Is your session tracking working ?
 
Dean Chester
Ranch Hand
Posts: 31
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
How do you mean i enabled session persistance on tomcat which uses a database and that works.
Dean
 
Sebastian Janisch
Ranch Hand
Posts: 1183
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I mean is your browser passing the session ID between the requests ?
 
Dean Chester
Ranch Hand
Posts: 31
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Yes it is.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic