1 Reply Latest reply on Oct 15, 2002 8:12 AM by Lewis Henderson

    a different, different null Principal problem...

    Lewis Henderson Novice

      A WAR contains :-


      I secure /cs/*,/jsp/*,/script/* with auth-method FORM

      I use struts so we have /*.do to secure as well...

      I hit my welcome file in /jsp and get challenged for my login. I login successfully. I get my welcome page with a valid UserPrincipal. I hit a link to /someAction.do?params, this Forwards me to another /jsp....I now have a null UserPrincipal.

      To fix this I secure ONLY /* and everything works...

      Surely I should not have got a null UserPrincipal on a secure page! Does a Forward act differently in some way?