NNTP provider supports SSL?

Lee Yeow Leong <[email protected]> Mon, 02 Feb 2004 00:44:41 +0800
Newsgroups gmane.comp.java.classpath.extensions.discuss
Message-ID <[email protected]>
I would need some help in getting the NNTP provider to connect to a news 
server which requires SSL connection.  I wrote the following

Properties props = new Properties();
props.put("mail.nntp.host", "<news server>:563");
props.put("mail.nntp.user", "<id>@<news server>");
Session session = Session.getDefaultInstance(props);
session.setDebug(true);
URLName url = new URLName("nntp://<news server>:563");
Store store = session.getStore(url);

I'm using JDK1.4(which presumely comes with SSL support).

Thank you.