Beefy Boxes and Bandwidth Generously Provided by pair Networks
Syntactic Confectionery Delight
 
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?
[choroba]: :-D
[marinersk]: I've often marvelled over the past few decades at just how little it takes to mess me up with this spacial dependence thing. I wonder if I'm mildly autistic or something.
[Eily]: can't the nodelet be moved though? Maybe you could put one that doesn't change first ("Sections" or "Find Nodes" for example)
[Eily]: "Other Users" seems like a poor choice :P

How do I use this? | Other CB clients
Other Users?
Others pondering the Monastery: (8)
As of 2017-05-29 14:05 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?