Win a copy of Cross-Platform Desktop Applications: Using Node, Electron, and NW.js this week in the JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

HTTP authentication  RSS feed

Jan Van Reusel
Posts: 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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?
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!