/tools/Ruby/lib/ruby/1.8/uri/ldaps.rb

http://github.com/agross/netopenspace · Ruby · 12 lines · 7 code · 2 blank · 3 comment · 0 complexity · e2ae7fd371e708a981e23a8698c105b4 MD5 · raw file

  1. require 'uri/ldap'
  2. module URI
  3. # The default port for LDAPS URIs is 636, and the scheme is 'ldaps:' rather
  4. # than 'ldap:'. Other than that, LDAPS URIs are identical to LDAP URIs;
  5. # see URI::LDAP.
  6. class LDAPS < LDAP
  7. DEFAULT_PORT = 636
  8. end
  9. @@schemes['LDAPS'] = LDAPS
  10. end