Re: authentication and an http POST from a java applet

2010-01-24 Thread stephendwolff
Thanks for that, I found a quick and easy way in the end - passing the cookie data with javascript (as you suggested with document.cookie) to the applet, and from there, adding the cookie to my POST, ie: connection = url.openConnection(); connection.setDoOutput(true); connection.

Re: authentication and an http POST from a java applet

2010-01-20 Thread pjrhar...@gmail.com
On Jan 18, 10:58 pm, stephendwolff wrote: > I'm having problems authenticating an http POST from a java applet > (which is loaded from a fully authenticated django view). I had to do a similar thing from flash. I ended up manually putting the session cookie into the post data (using document.co

authentication and an http POST from a java applet

2010-01-18 Thread stephendwolff
I'm having problems authenticating an http POST from a java applet (which is loaded from a fully authenticated django view). Does anyone have any idea how I could share the authentication of the browser user with the applet which is loaded? Am i missing something blindingly obvious here? I am con