| VALID_ADAPTER_CONFIGURATION_KEYS |
= |
[ :hosts, :host, :port, :encryption, :disable_verify_certificates, :bind_dn, :password, :try_sasl, :sasl_mechanisms, :uid, :base, :allow_anonymous, :filter, :tls_options, # Deprecated :method, :ca_file, :ssl_version |
| MUST_HAVE_KEYS |
= |
[ :base, [:encryption, :method], # :method is deprecated [:hosts, :host], [:hosts, :port], [:uid, :filter] |
|
A list of needed keys. Possible alternatives are specified using sub-lists.
|
| ENCRYPTION_METHOD |
= |
{ :simple_tls => :simple_tls, :start_tls => :start_tls, :plain => nil, # Deprecated. This mapping aimed to be user-friendly, but only caused # confusion. Better to pass-through the actual `Net::LDAP` encryption type. :ssl => :simple_tls, :tls => :start_tls, } |