Win a copy of The Little Book of Impediments (e-book only) this week in the Agile and Other Processes forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

How to login to a server that uses form based authentication

 
Anonymous
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