0 Replies Latest reply on Nov 26, 2002 3:34 AM by Tim Pijpops

    Http authentication java -> browser

    Tim Pijpops Newbie

      Hi,

      I want to open a browser window to a url that needs authentication, from a Java program. In that Java program, I have already created an authenticated session, using HttpURLConnection and an Authenticator that prompts for the userid and password. To avoid double login, I want to use this authenticated session's id when opening the browser's window (append "JSessionid" + sessionid to url). This works fine on WebLogic 7.0, but doesn't work on Tomcat4.1.12/JBoss3.0.4 or Jetty/JBoss3.0.4.
      Any suggestions?

      Thanks,

      Tim