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

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

- (Object) connect(host, port)



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

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

- (Boolean) start_tls?

Returns:

  • (Boolean)


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

def start_tls?
  true
end