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

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

Instance Method Summary collapse

Methods inherited from Base

#ssl?

Instance Method Details

#connect(host, port) ⇒ Object



37
38
39
# File 'lib/active_ldap/adapter/ldap.rb', line 37

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

#start_tls?Boolean

Returns:

  • (Boolean)


41
42
43
# File 'lib/active_ldap/adapter/ldap.rb', line 41

def start_tls?
  true
end