Debian Codegraph @

README

raw
1 NAME
2 Authen::Simple::Kerberos - Simple Kerberos authentication
3
4 SYNOPSIS
5 use Authen::Simple::Kerberos;
6
7 my $kerberos = Authen::Simple::Kerberos->new(
8 realm => 'REALM.COMPANY.COM'
9 );
10
11 if ( $kerberos->authenticate( $username, $password ) ) {
12 # successfull authentication
13 }
14
15 # or as a mod_perl Authen handler
16
17 PerlModule Authen::Simple::Apache
18 PerlModule Authen::Simple::Kerberos
19
20 PerlSetVar AuthenSimpleKerberos_realm "REALM.COMPANY.COM"
21
22 <Location /protected>
23 PerlAuthenHandler Authen::Simple::Kerberos
24 AuthType Basic
25 AuthName "Protected Area"
26 Require valid-user
27 </Location>
28
29 DESCRIPTION
30 Kerberos authentication.
31
32 METHODS
33 * new
34 This method takes a hash of parameters. The following options are
35 valid:
36
37 * realm Kerberos realm.
38
39 realm => 'REALM.COMPANY.COM'
40
41 * log Any object that supports "debug", "info", "error" and
42 "warn".
43
44 log => Log::Log4perl->get_logger('Authen::Simple::Kerberos')
45
46 * authenticate( $username, $password )
47 Returns true on success and false on failure.
48
49 SEE ALSO
50 Authen::Simple.
51
52 Authen::Krb5::Simple.
53
54 AUTHOR
55 Christian Hansen "[email protected]"
56
57 COPYRIGHT
58 This program is free software, you can redistribute it and/or modify it
59 under the same terms as Perl itself.
60