Menu

#1 set soap->userid directly

open-accepted
nobody
None
5
2011-03-15
2011-03-11
Anonymous
No

Hi,

i attached a small patch which set the username (if set when http auth is
enabled) in the request to the soap->userid field directly.

request_soap->userid = r->user;

With this an client dont't have to dereference the whole http request
record passed via the soap->user field in the service method. You did it
also with the request_soap->ip, so why not also with the userid.

Greetings
Michael Radzewitz

Discussion

  • Nobody/Anonymous

    set soap->userid directly

     
  • Mario Velasco

    Mario Velasco - 2011-03-15

    That's a nice suggestion. It will depend on the client to properly manage the credentials.

    MV

     
  • Mario Velasco

    Mario Velasco - 2011-03-15
    • status: open --> open-accepted
     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.