Class: ActiveLdap::Adapter::Ldap::Method::TLS

Inherits:
Object
  • Object
show all
Defined in:
lib/active_ldap/adapter/ldap.rb

Instance Method Summary collapse

Instance Method Details

#connect(host, port) ⇒ Object



25
26
27
# File 'lib/active_ldap/adapter/ldap.rb', line 25

def connect(host, port)
  LDAP::SSLConn.new(host, port, true)
end