1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00
ruby--ruby/lib/uri/ldaps.rb
kazu e04e2e0bb3 * lib/uri.rb, lib/uri/ldaps.rb: added LDAPS scheme; backported from 1.9. bug#19015, [ruby-dev:31896]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@16038 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-04-15 09:41:47 +00:00

12 lines
286 B
Ruby

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