Welcome to the "trac"-ing site of soap4r!
[soap4r] [httpclient] [openpgp4u] [pkcs1] [logger] [csv] [vtr]

Ticket #249 (closed enhancement: fixed)

Opened 2 years ago

Last modified 1 year ago

basicauth server sample

Reported by: nahi Assigned to: nahi
Priority: low Milestone: 1.5.6
Component: soap4r Version: 1.5
Keywords: Cc:

Description

from ruby-talk

Hi!
I'm trying to get SOAP4R running under ruby-1.8.5-preview3 + 
http-access2 (you can also update 1.8.4 with latest SOAP4R + 
http-access2 I guess).

Everything works too well... I'm suspecting that this basic auth thing 
in SOAP4R only is for the client???

See these, server and client:
http://dev.ctor.org/soap4r/browser/trunk/sample/soap/basicauth
The third line in the server.rb file states:
# SOAP server cannot use WEBrick's httpauth feature for now...
I dont use any webserver, I run standalone server, pure SOAP i guess...

I want the server to fail the client when sending incorrect user/passwd, 
now it doesnt matter what I send, the client gets access and the RPC 
succeed no matter what passwd I send!!!

Am i missing something here? Do the webbserver need to be integrated? 
(that is, do I need to run a full webbservice to get this to work 
correctly?)

Thanks!

/Rick



-- Posted via http://www.ruby-forum.com/. 

Change History

05/31/07 23:24:20 changed by nahi

  • status changed from new to closed.
  • resolution set to fixed.

(In [1823]) * WEBrick's authenticator support. allow to do basic_auth / digest_auth at server side. closes #249.

06/01/07 17:55:17 changed by nahi

  • type changed from task to enhancement.