Patches: Browse | Submit New | Admin

[#5177] Win32 NTLM/Negotiate Authentication Support for Net::HTTP

Date:
2006-07-24 19:28
Priority:
3
Submitted By:
Justin Bailey (m4dc4p)
Assigned To:
Akinori MUSHA (knu)
Category:
Network / Comm / Protocols
State:
Open
Summary:
Win32 NTLM/Negotiate Authentication Support for Net::HTTP

Detailed description
These two files represent a patch which allows Net::HTTP to authenticate with a proxy server demanding NTLM/Negotiate
authentication on Windows. It will authenticate as the current user. The authentication is transparent. Note that open-uri
automaticaly gets support for this to.

I hope the format of this patch works. I downloaded the 1_8_5_preview1 sources and took diffs against them. Two diffs
are attached because two separate directories are modified.

lib.patch.txt  adds one file to the lib/net/http directory and modifies http.rb there.

test.patch.txt adds three files to test/lib/net/http and represents unit tests for the patch. You must have a proxy
server which uses NTLM/Negotiate authentication handy unfortunately.

Please let me know if I can provide more information.

Justin

p.s. This library is also available on rubyforge as a gem - http://rubyforge.org/projects/rubysspi/

Add A Comment: Notepad

Please login


Followup

No Followups Have Been Posted

Attached Files:

Name Description Download
lib.patch.txt adds one file to the lib/net/http directory and modifies http.rb Download
test.patch.txt adds three files to test/lib/net/http and represents unit tests for the patch. Download

Changes:

Field Old Value Date By
assigned_tonone2007-06-13 06:30zenspider
category_idMisc / Other Standard Library2007-05-30 04:12zenspider
category_idCrypto / Digest / Compression2007-05-30 03:50zenspider
artifact_group_idNone2007-05-30 03:41zenspider
File Added702: test.patch.txt2006-07-24 19:29m4dc4p
File Added701: lib.patch.txt2006-07-24 19:28m4dc4p