Class: LDAP::SSLConn

Inherits:
Object
  • Object
show all
Includes:
ConnImplementation
Defined in:
lib/ldap/conn.rb

Instance Method Summary collapse

Methods included from ConnImplementation

#__jndi_context, #add, #bind, #bound?, #controls, #delete, #err, #err2string, #get_option, #modify, #modrdn, #perror, #referrals, #result2error, #search, #search2, #set_option, #simple_bind, #unbind

Constructor Details

#initialize(host = 'localhost', port = LDAPS_PORT) ⇒ SSLConn

Returns a new instance of SSLConn.



266
267
268
269
# File 'lib/ldap/conn.rb', line 266

def initialize(host='localhost', port=LDAPS_PORT)
  super
  @use_ssl = true
end