Beefy Boxes and Bandwidth Generously Provided by pair Networks
P is for Practical
 
PerlMonks  

Re: Ok I'm stumped. How the heck does LWP::Authen::Wsse work?

by Anonymous Monk
on Apr 29, 2011 at 03:57 UTC ( #901919=note: print w/ replies, xml ) Need Help??


in reply to Ok I'm stumped. How the heck does LWP::Authen::Wsse work?

I think this is where I'm going wrong. Is the server supposed to send a special header asking for WSSE authentication like it does for Basic Auth?

Yes

Or does LWP::Auth::Wsse (which only has one method called authenticate) have to be injected into a WWW::Mechanize object somehow?

No, it only has to live in the LWP::Authen:: namespace, be named ucfirst lc $authenschemename, and have a method called authenticate :) LWP::Authen::Wsse qualifies

but I can't seem to get from A to B. Help!

Its all about the headers sent and headers received, examine the headers, or show the headers :)


Comment on Re: Ok I'm stumped. How the heck does LWP::Authen::Wsse work?
Download Code

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://901919]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others examining the Monastery: (7)
As of 2014-12-21 05:41 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    Is guessing a good strategy for surviving in the IT business?





    Results (103 votes), past polls