[ANNOUNCE] Perl CPAN module LWP::Authen::Negotiate 0.05

Achim Grolms kerberosml at grolmsnet.de
Fri Feb 17 12:24:04 EST 2006


[ANNOUNCE] Perl CPAN module LWP::Authen::Negotiate 0.05

Perl CPAN module LWP::Authen::Negotiate
GSSAPI based Authentication Plugin for LWP.


just install LWP::Authen::Negotiate, LWP uses it as authentication plugin. 
Use your LWP::UserAgent Scripts as usual. Authentication is done 
transparent based on your GSSAPI installation (MIT Kerberos or Heimdal)
WWW-Negotiate supporting Webservers are 
IIS or Apache with mod_auth_kerb for example.


usage example:


 #! /usr/bin/perl -w
   use strict;
   require LWP::UserAgent;
   # uncomment if you want see what is going wrong messages
   #
   #use LWP::Debug qw(+);
   my $ua = LWP::UserAgent->new;
   my $response = $ua->get('http://testwurst.grolmsnet.lan:8090/geheim/');
   if ($response->is_success) {
      print $response->content;  # or whatever
   }
   else {
       die $response->status_line;
   }
   
The actual version is available at CPAN
<http://search.cpan.org/search?query=LWP-Authen-Negotiate&mode=all>

Many thanks to Leif Johansson who co-authored the module.

I hope it is useful!

Achim Grolms

-- 
using mod_auth_kerb and Windows 2000/2003 as KDC:
<http://www.grolmsnet.de/kerbtut/>



More information about the Kerberos mailing list