Class: ActiveLdap::Adapter::Ldap::Method::SSL

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

Instance Method Summary collapse

Methods inherited from Base

#start_tls?

Instance Method Details

#connect(host, port) ⇒ Object



27
28
29
# File 'lib/active_ldap/adapter/ldap.rb', line 27

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

#ssl?Boolean

Returns:

  • (Boolean)


31
32
33
# File 'lib/active_ldap/adapter/ldap.rb', line 31

def ssl?
  true
end