Uri::ldaps

e$B?\F#$G$9!#e(B

URI::LDAPe$B$,$"$k$N$Ge(BURI::HTTP/URI::HTTPSe$B$N$h$&$K!"e(BURI::LDAPSe$B$be(B
e$B%5%]!<%H$7$F$b$i$($k$H4r$7$$$G$9!#e(B

Index: lib/uri/ldaps.rb

— lib/uri/ldaps.rb (e$B%j%S%8%g%se(B 0)
+++ lib/uri/ldaps.rb (e$B%j%S%8%g%se(B 0)
@@ -0,0 +1,12 @@
+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
    Index: lib/uri.rb
    ===================================================================
    — lib/uri.rb (e$B%j%S%8%g%se(B 13549)
    +++ lib/uri.rb (e$B:n6H%3%T!<e(B)
    @@ -25,4 +25,5 @@ require ‘uri/ftp’
    require ‘uri/http’
    require ‘uri/https’
    require ‘uri/ldap’
    +require ‘uri/ldaps’
    require ‘uri/mailto’

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs