• Eric Chiang's avatar
    clean up LDAP connector · 5a78e898
    Eric Chiang authored
    * Remove some unlikely to be used fields to help configurability.
      * Combined "serverHost" and "serverPort" into "host"
      * Remove "timeout" (just default to 30 seconds).
      * Remove "maxIdleConn" will add it back if users feel the need
        to control the number of cached connections.
      * Remove "trustedEmailProvider" (just always trust).
      * Remove "skipCertVerification" you can't make this connector
        ingore TLS errors.
    * Fix configs that don't search before bind (previously broken).
    * Add more examples to Documentation
    * Refactor LDAPPool Acquire() and Put() into a Do() function which
      always does the flow correctly.
    * Added more comments and renamed some functions.
    * Moved methods on LDAPIdentityProvider to the LDAPConnector
    5a78e898