Hi Greg,

On Sat, 14 Sep 2002 10:16, Greg Steuck wrote:
> I am going to use TLSSocketFactory in my application and I would like
> to discuss some changes I am about to make and see how folks feel
> about them.

great.

> First, I am going to improve the javadocs:
> * move the configuration description to the top of the class
>   (and replace those nasty <> with char entities)

yay!

> * specify the defaults for the configuration keys

yay!

> * maybe produce a schema file for the configuration (low priority
>   for me plus I don't know xml schema syntax)

yay! yay!

> Then, I don't see how authenticate-client is applicable to the
> _client_ connections this factory produces. So I propose to remove
> this notion altogether from the class.

hmm .. not sure either ... I vaguely remember there was a reason for this but 
it seems fairly silly now ... ANy one else got any ideas?

> Finally, TLSSocketFactory has 3 public overloaded createSocket methods
> allowing one to wrap an existing socket into SSL. The problem with
> that is that these methods are not part of SocketFactory service. The
> methods themselves are genuinely useful, so I propose an extension of
> SocketFactory that specifies them and then we can have
> TLSSocketFactory provide both services.

works for me.

-- 
Cheers,

Peter Donald
----------------------------------------
Why does everyone always overgeneralize?
---------------------------------------- 


--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to