classpath-inetlib
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Classpath-inetlib] IMAPConnection(SocketFactory, String host, int p


From: Chris Burdess
Subject: Re: [Classpath-inetlib] IMAPConnection(SocketFactory, String host, int port, ..)
Date: Tue, 20 Jul 2004 08:44:44 +0100

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Daniel Harvey wrote:
Nearly every email program I've seen allows imap over ssl,
independent of STARTTLS, and have a checkbox (or mode)
explicitely for that.

Eudora, Netscape, OE, Outlook, Thunderbird, Mutt,
 <complete this vast list yourself if you want to>.

That's not relevant. Just because there are n other implementations of a non-standard protocol doesn't mean we should implement it.

The kludge around this is to force the 'new Socket' call
in IMAPConnection to return an SSLSocket.  This can be done
now by calling SocketFactory.setDefault(SSLSocket) near the
beginning of your program.

However, setDefault() can only be called once and you can't
set it back.  All Sockets will be SSLSocket from then on.

I would have thought that the obvious thing to do would be to apply your patch at compile time, rather than working around it at runtime, if you've decided you must have this functionality.

Of course IMAP-SSL isn't a "standard" or "rfc".  Being a Layer,
nearly anything can run transparently on top of SSL.

There is a defined way to do IMAP over SSL, and it is a standard. How does this correlate with your statement "Of course..."?

Chris - I really don't see what your objection is.

Read my previous reply.

Perhaps we should have a show of hands on this issue. What do others think? - -- Chris Burdess
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (Darwin)

iD8DBQFA/M1s6dl1DEqHgrgRArzWAJoD02DowcND5pwEb9b42Uxd/FilywCfU9+g
Fn5Vp8I6x1XYnDGqoAsxGmI=
=eeFr
-----END PGP SIGNATURE-----





reply via email to

[Prev in Thread] Current Thread [Next in Thread]