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 handlerPerlModule Authen::Simple::ApachePerlModule Authen::Simple::KerberosPerlSetVar AuthenSimpleKerberos_realm "REALM.COMPANY.COM"<Location /protected>PerlAuthenHandler Authen::Simple::KerberosAuthType BasicAuthName "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.