Win a copy of Murach's Python Programming this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

How to login to a server that uses form based authentication  RSS feed

Ranch Hand
Posts: 18944
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi there,
I've developed an app that posts XML over HTTP to my server. So far so good.... Now in REAL world the server requires a login (its a Tomcat5) and is configured for form based authentication. In theory I need to post the username/password in the j_ fields and get a cookie with a session in return. In practise: waht exactly do I need to do to create the login post and how to get the resulting session into my xml-post? Help greatly appreciated!
:-) stw
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!