Softpedia
 


LINUX CATEGORIES:



GLOBAL PAGES >>
NEWS ARCHIVE >>
SOFTPEDIA REVIEWS >>
MEET THE EDITORS >>
WEEK'S BEST
  • Linux Kernel 3.9.3 / 3....
  • LibreOffice 3.6.6 / 4.0.3
  • MPlayer 1.1.1
  • systemd 204
  • Arch Linux 2013.05.01
  • Blender 2.67a
  • KDE Software Compilatio...
  • CrunchBang Linux Stable...
  • Elementary OS 0.1 / 0.2...
  • SystemRescueCd 3.6.0
  • Home > Linux > Programming > Libraries

    Authen::Simple::RADIUS 0.1

    Download button

    No screenshots available
    Downloads: 433  View global page NEW!  Tell us about an update
    User Rating:
    Rated by:
    NOT RATED
    0 user(s)
    Developer:

    License / Price:

    Last Updated:

    Category:
    Christian Hansen | More programs
    Perl Artistic License / FREE
    September 20th, 2007, 02:05 GMT
    ROOT / Programming / Libraries

     Read user reviews (0)  Refer to a friend  Subscribe

    Authen::Simple::RADIUS description

    Authen::Simple::RADIUS is a simple RADIUS authentication in Perl.

    Authen::Simple::RADIUS is a simple RADIUS authentication in Perl.

    SYNOPSIS

    use Authen::Simple::RADIUS;

    my $radius = Authen::Simple::RADIUS->new(
    host => 'radius.company.com',
    secret => 'secret'
    );

    if ( $radius->authenticate( $username, $password ) ) {
    # successfull authentication
    }

    # or as a mod_perl Authen handler

    PerlModule Authen::Simple::Apache
    PerlModule Authen::Simple::RADIUS

    PerlSetVar AuthenSimpleRADIUS_host "radius.company.com"
    PerlSetVar AuthenSimpleRADIUS_pdc "secret"

    < Location /protected >
    PerlAuthenHandler Authen::Simple::RADIUS
    AuthType Basic
    AuthName "Protected Area"
    Require valid-user
    < /Location >

    METHODS

    new

    This method takes a hash of parameters. The following options are valid:

    host

    Connection host, can be a hostname or IP address. Defaults to localhost.

    host => 'ldap.company.com'
    host => '10.0.0.1'

    port

    Connection port, default to 1812.

    port => 1645

    timeout

    Connection timeout, defaults to 10.

    timeout => 20

    secret

    Shared secret. Required.

    secret => 'mysecret'

    log

    Any object that supports debug, info, error and warn.

    log =>

    Log::Log4perl->get_logger('Authen::Simple::RADIUS')
    authenticate( $username, $password )

    Returns true on success and false on failure.

    Product's homepage

    Requirements:

    · Perl

      


    TAGS:

    RADIUS authentication | authentication class | Perl module | RADIUS | authentication | Perl

    Go to top

    WindowsGamesDriversMacLinuxScriptsMobileHandheldNews

    SUBMIT PROGRAM   |   ADVERTISE   |   GET HELP   |   SEND US FEEDBACK   |   RSS FEEDS   |   UPDATE YOUR SOFTWARE   |   ROMANIAN FORUM