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 :)

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://901919]
help
Chatterbox?
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others browsing the Monastery: (14)
As of 2017-11-21 14:51 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    In order to be able to say "I know Perl", you must have:













    Results (303 votes). Check out past polls.

    Notices?