0 Replies Latest reply on Dec 17, 2002 4:20 PM by fmarchioni

    FORM based authentication - serious problem!

      FORM-based Authentication serious problem

      Hi all. I'm having a serious problem using
      Form-based authentication with Frames.

      I'm using jBoss 3.0.0 embedded with Tomcat 4
      and Jdk1.4.

      I have a page made up of 3 jsp in different frames

      ----------------------------------------------
      | Frame1.jsp |
      | |
      ----------------------------------------------
      | | |
      | | |
      |Frame2.jsp | Login.jsp |
      | | |
      | | |
      | | |
      | | |
      | | |
      |_______________|____________________________|


      The login page is displayed in Login.jsp,
      then in Frame1.jsp and Frame2.jsp I want to display some info about the user.

      The matter is, after I authenticate in Login.jsp
      the credential are visible only in that page.

      In Frame1.jsp and Frame2.jsp request.getUserPrincipal()
      is null !

      Why is it so ??

      Also I'm looking for
      a way to programmatically update Frame1.jsp and Frame2.jsp,
      when data changes in it.At the moment the only way to "refresh"
      them is to redirect to the home page (a bit ugly)

      Any help is greatly appreciated.