Peter Donald wrote:

> ie if Client specifies they MUST use SSL enabled ConnManager then it is likely 
> because they do something like
> 
> final SSLSocket sslSocket = (SSLSocket)myConnMann.getSocket(...);
> sslSocket.setClientCerts( myCertificates );

myConnMann.getSocket ?
where's .lookup?

Also:
   final Socket sslSocket = (Socket)myConnMann.getSocket(...);

> If the constraint is not enforced then the application will fail when 
> executing - precisely what we want to avoid by tagging dependency with 
> constraints.

If you specify these constraits *outside* of the caller, how can the 
caller do a dynamic lookup?!?

> ie Don't confuse constraints and hints/policys. hints/policys just suggest 
> good characteristerics of the provider but need not be enforced.

+1

-- 
Nicola Ken Barozzi                   [EMAIL PROTECTED]
             - verba volant, scripta manent -
    (discussions get forgotten, just code remains)
---------------------------------------------------------------------


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

Reply via email to