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: Mon, 19 Jul 2004 08:39:49 +0100

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

Daniel Harvey wrote:
To allow the user to switch between IMAP/443 and
SSL-IMAP/993, I've added this constructor to gnu.inet.imap.IMAPConnection.

Note this is a different protocol than starttls().

That's correct. I'm firmly of the opinion that this duplication of protocols is harmful. IMAP is a stateful protocol, unlike HTTP, so a separate IMAPS protocol is redundant, and this policy of protocol duplication doesn't scale.

I'd prefer if the recently added starttls code were changed to
take a SocketFactory instead of a TrustManager, to eliminate the
requirement of needing to find the TrustManager class at compile
time.

There are other classes that are part of GNU Crypto that are also required at compile time (and at runtime). These classes will shortly be merged into Classpath, reducing the current configuration complexity.

The issue here is determining which interface is the correct one to expose, not the most convenient. - -- Chris Burdess
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (Darwin)

iD8DBQFA+3rF6dl1DEqHgrgRAhJCAJ4/8VAbnqbNAmYcNzJ67yD0g9FCowCfeIjN
XLpJu5coCf2LxDmy1JHaZ2U=
=WqQb
-----END PGP SIGNATURE-----





reply via email to

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