Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl-Sensitive Sunglasses
 
PerlMonks  

Re: MD5 authentication with perl

by iburrell (Chaplain)
on Nov 21, 2002 at 17:36 UTC ( [id://214835]=note: print w/replies, xml ) Need Help??


in reply to MD5 authentication with perl

There is a LWP::Authen::Digest module that does HTTP Digest authentication. LWP::UserAgent should automatically retry the request after calling the authentication handler when the server asks for authentication. The client code needs to set the username and password. Either by calling credentials</cod> or overriding <code>get_basic_credentials to prompt the user.
$ua = LWP::UserAgent->new(); $ua->credentials($host, $realm, $user, $pass); $ua->request($req);

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others having an uproarious good time at the Monastery: (7)
As of 2024-03-29 00:07 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found