Dan Sully > Apache-AuthenRadius-0.9 > Apache::AuthenRadius

Download:
Apache-AuthenRadius-0.9.tar.gz

Dependencies

Annotate this POD

CPAN RT

New  1
Open  0
View Bugs
Report a bug
Module Version: 0.9   Source  

NAME ^

Apache::AuthenRadius - Authentication via a Radius server

SYNOPSIS ^

 # Configuration in httpd.conf

 PerlModule Apache::AuthenRadius

 # Authentication in .htaccess

 AuthName Radius

 AuthType Digest or AuthType Basic

 # authenticate via Radius
 PerlAuthenHandler Apache::AuthenRadius

 PerlSetVar Auth_Radius_host radius.foo.com
 PerlSetVar Auth_Radius_port 1647
 PerlSetVar Auth_Radius_secret MySharedSecret
 PerlSetVar Auth_Radius_timeout 5

 # This allows you to append something to the user name that
 # is sent to the RADIUS server
 # usually a realm so the RADIUS server can use it to
 # discriminate between users
 PerlSetVar Auth_Radius_appendToUsername @some.realm.com

 require valid-user

DESCRIPTION ^

This module allows Basic and Digest authentication against a Radius server.

PUBLIC METHODS ^

handler( $r )

The mod_perl handler.

LIST OF TOKENS ^

CONFIGURATION ^

The module should be loaded upon startup of the Apache daemon. Add the following line to your httpd.conf:

 PerlModule Apache::AuthenRadius

PREREQUISITES ^

For AuthenRadius you need to enable the appropriate call-back hook when making mod_perl:

  perl Makefile.PL PERL_AUTHEN=1

For Digest authentication, you will need Authen::Radius version 0.06 or better. Version 0.05 only permits 16 byte passwords

SEE ALSO ^

Apache, mod_perl, Authen::Radius

AUTHORS ^

Authen::Radius by Carl Declerck carl@miskatonic.inbe.net

Apache::AuthenRadius by Dan Sully <daniel | AT | cpan.org>

COPYRIGHT ^

The Apache::AuthenRadius module is free software; you can redistribute it and/or modify it under the same terms as Perl itself.