Win a copy of 97 Things Every Java Programmer Should Know this week in the Java in General forum!
  • 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 ...
  • Campbell Ritchie
  • Paul Clapham
  • Jeanne Boyarsky
  • Junilu Lacar
  • Henry Wong
  • Ron McLeod
  • Devaka Cooray
  • Tim Cooke
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Frits Walraven
  • Tim Holloway
  • Carey Brown
  • Piet Souris
  • salvin francis
  • fred rosenberger

j_security_check stores what in the session?

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?

Beauty is in the eye of the tiny ad.
Devious Experiments for a Truly Passive Greenhouse!
    Bookmark Topic Watch Topic
  • New Topic