Learn how easy it is to sync an existing GitHub or Google Code repo to a SourceForge project! See Demo

Close

#18 basic auth

closed
nobody
None
5
2006-03-13
2005-12-21
hillerj
No

I can't get basic authentication to work. I entered a
userid and password and captured the request in a
pass-thru but I don't see a Authorization HTTP header.
I am using version 1.0.3.

Discussion

  • Ole Lensmar
    Ole Lensmar
    2005-12-22

    Logged In: YES
    user_id=838515

    hmm.. soapui sends the authorization header first when it
    receives an authorization challenge from the server.. are
    you sure your server is returning a correct Basic
    Authentication challenge?

    /Ole

     
  • hillerj
    hillerj
    2005-12-22

    Logged In: YES
    user_id=1019542

    Well you are correct, the server is not sending an
    authentication challenge. I assumed soapui would send the
    credentials in the initial POST message (without receiving
    the challenge). I tried this with a demo version of the
    tool Vordel SOAPbox and it worked. It sends the credentials
    in the POST with the soap request. Maybe this isn't
    following the HTTP/SOAP specficiation though. Thoughts?

     
  • Ole Lensmar
    Ole Lensmar
    2005-12-23

    Logged In: YES
    user_id=838515

    hmm.. I currently chose not to send authorization headers
    preemptively as recommended by the httpclient docs, but
    since yours is a good point and I want all soapui users to
    be happy I'll add an option for preemptive authentication in
    the 1.1 release coming in january :-) ok?

    regards!

    /Ole

     
  • Ole Lensmar
    Ole Lensmar
    2006-02-27

    • status: open --> pending
     
  • Ole Lensmar
    Ole Lensmar
    2006-02-27

    Logged In: YES
    user_id=838515

    Should be fixed in 1.5beta1, use the global preferences
    dialog to turn on preemptive authentication!

    let me know if it works

    regards,
    Ole

     
  • Logged In: YES
    user_id=1312539

    This Tracker item was closed automatically by the system. It was
    previously set to a Pending status, and the original submitter
    did not respond within 14 days (the time period specified by
    the administrator of this Tracker).

     
    • status: pending --> closed