Authen::Simple::Kerberos(3pm)

Authen::Simple::Kerberos3pm

Simple kerberos authentication

Usage

    use Authen::Simple::Kerberos;
    
    my $kerberos = Authen::Simple::Kerberos->new(
        realm => 'REALM.COMPANY.COM'
    );
    
    if ( $kerberos->authenticate( $username, $password ) ) {
        # successfull authentication
    }
    
    # or as a mod_perl Authen handler
    
    PerlModule Authen::Simple::Apache
    PerlModule Authen::Simple::Kerberos
    PerlSetVar AuthenSimpleKerberos_realm "REALM.COMPANY.COM"
    <Location /protected>
      PerlAuthenHandler Authen::Simple::Kerberos
      AuthType          Basic
      AuthName          "Protected Area"
      Require           valid-user
    </Location>

Overview

Kerberos authentication.

Methods

•

new

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

•

realm

Kerberos realm.

    realm => 'REALM.COMPANY.COM'
•

log

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

    log => Log::Log4perl->get_logger('Authen::Simple::Kerberos')
•

authenticate( $username, $password )

Returns true on success and false on failure.

Releases

9 releases since Debian 5.0 (Lenny); the text changed 4 times.

  1. 5.0–7
  2. 8
  3. 9–10
  4. 11
  5. 12–13

Author

Christian Hansen "[email protected]"

From libauthen-simple-kerberos-perl 0.1-6 in Debian 13 (Trixie). Parsed by carta from the page's man source.