Christian Hansen > Authen-Simple-Passwd-0.6 > Authen::Simple::Passwd

Download:
Authen-Simple-Passwd-0.6.tar.gz

Dependencies

Annotate this POD

CPAN RT

New  1
Open  0
View/Report Bugs
Module Version: 0.6   Source  

NAME ^

Authen::Simple::Passwd - Simple Passwd authentication

SYNOPSIS ^

    use Authen::Simple::Passwd;
    
    my $passwd = Authen::Simple::Passwd->new( 
        path => '/etc/passwd'
    );
    
    if ( $passwd->authenticate( $username, $password ) ) {
        # successfull authentication
    }
    
    # or as a mod_perl Authen handler
    
    PerlModule Authen::Simple::Apache
    PerlModule Authen::Simple::Passwd

    PerlSetVar AuthenSimplePasswd_path "/etc/passwd"

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

DESCRIPTION ^

Authenticate against a passwd file.

METHODS ^

SEE ALSO ^

Authen::Simple.

Authen::Simple::Password.

passwd(5).

AUTHOR ^

Christian Hansen ch@ngmedia.com

COPYRIGHT ^

This program is free software, you can redistribute it and/or modify it under the same terms as Perl itself.

syntax highlighting: