Hi.
I've been using Java 5 under OS X 10.4.5 to write applets that connect
back to a server via HTTP (specifically, using
javax.net.ssl.HttpsURLConnection) and interact with the server side of
my application. The server requires a password login, and sends back
a secure cookie with a timed credential in it, for the applet to use
for validation in further requests. This scheme works well under
Safari (2.x), but with Camino or Firefox, the secure session cookie is
not sent with the requests from Java.
Camino and Firefox use the Java Embedding Plugin
(http://sourceforge.net/projects/javaplugin/) to wrap Java for their
plug-in support. The problem with secure cookies is a known problem
(see
http://sourceforge.net/forum/forum.php?thread_id=1298604&forum_id=371125),
but the maintainer doesn't have enough information about where the
CookieHandler class is supposed to get its information:
``One or two others have asked about cookie support ... and it's
really from what they've told me that I've concluded that cookie
support doesn't work (or works only partially) with the JEP. But I
don't understand why, and I haven't yet had the chance to look into
the matter.
``Please point me at some documentation and sample code that shows how
the cookie support is _supposed_ to work.''
So -- anyone know where to find such documentation and sample code?
Bill
PS: Why not just use Safari? The main reason is that Safari seems to
have some real problems with Javascript that don't seem to affect
Camino or Firefox.
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Java-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/java-dev/email@hidden
This email sent to email@hidden