Beefy Boxes and Bandwidth Generously Provided by pair Networks
Think about Loose Coupling
 
PerlMonks  

Re: Authentication and Authorization for SOAP

by Ieronim (Friar)
on Jul 14, 2006 at 17:17 UTC ( #561275=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    my $result = SOAP::Lite
        -> uri('http://www.example.com/Protected')
        -> proxy('http://www.example.com/soap.cgi')
        -> fetchdata($name, $pass, @request)
        -> result;
    
  2. or download this
    package Protected;
    sub fetchdata {
    ...
        #check the $name and $pass and process @request
        # or send an response indicating authentication error
    }
    

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://561275]
help
Chatterbox?
[Lady_Aleena]: Well, not much of my code. A few little things people here like. The big things though, the more important to me code, people here seem to loathe.
[atcroft]: Lady_Aleena: My early code was pretty horrible... but somewhere early on I learned not to take criticism of my code personally... which was probably a good thing, considering the kind of code I wrote at the time. :\
[Lady_Aleena]: I am hungry, so I'm going to go make something to eat. I hope you figure it out atcroft. Have a nice night!
[atcroft]: I have one script that I have started re-writing several times over the years, and have yet to get it working in a cleaner/better form. (It is some smelly code-I did not even know about hashes at the time I wrote it.)
[atcroft]: Enjoy, Lady_Aleena!

How do I use this? | Other CB clients
Other Users?
Others cooling their heels in the Monastery: (6)
As of 2017-05-27 05:27 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?