• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Liutauras Vilda
  • Jeanne Boyarsky
  • Devaka Cooray
  • Paul Clapham
Sheriffs:
  • Tim Cooke
  • Knute Snortum
  • Bear Bibeault
Saloon Keepers:
  • Ron McLeod
  • Tim Moores
  • Stephan van Hulst
  • Piet Souris
  • Ganesh Patekar
Bartenders:
  • Frits Walraven
  • Carey Brown
  • Tim Holloway

j_security_check stores what in the session?

 
Greenhorn
Posts: 21
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Guys..

We are using WSAD 5 with FORM authentication. In case of using the login.jsp page to post to 'j_security_check', I post to a struts action, where I do the authentication myself with the following code:



After this page, I return a forward to a specific page, wich then displays. When I re-request the SAME URL, I get re-directed to the login page. I suspect that when posting to the j_security_check servlet, it puts certain stuff into the session, that it tries to access at a later stage. Can anybody please tell me what I need to put into the session, so that the container can stil authenticate certain resources?

Thanx
Martin
 
Consider Paul's rocket mass heater.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!