Class: ActiveLdap::Adapter::Ldap::Method::SSL — activeldap - ActiveLdap

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

- (Object) connect(host, port)



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

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

- (Boolean) ssl?

Returns:

  • (Boolean)


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

def ssl?
  true
end