DanElbert / vt-middleware

Automatically exported from code.google.com/p/vt-middleware
0 stars 0 forks source link

vt-ldap: refactor connect code to use a connection strategy #45

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
The code which manages connections and bind couples implementations for
both TLS, SSL, and plain connections.
Provide an API for setting a custom connection strategy.
Provide implementations for the current connection code.

Original issue reported on code.google.com by dfis...@gmail.com on 6 Nov 2009 at 3:36

GoogleCodeExporter commented 8 years ago
You might review
http://static.springsource.org/spring-ldap/site/apidocs/org/springframework/ldap
/core/support/DirContextAuthenticationStrategy.html
for reference.

Original comment by marvin.addison@gmail.com on 7 Nov 2009 at 3:22

GoogleCodeExporter commented 8 years ago
Added ConnectionHandler interface to the handler package.
Added DefaultConnectionHandler and TlsConnectionHandler implementations.
Connection code removed from the AbstractLdap class.
ConnectionHandler property added to LdapConfig, the tls property now toggles 
the use
of the TLS connection implementation.

Fixed in r1069.

Original comment by dfis...@gmail.com on 29 Nov 2009 at 4:03