Apache-AuthPAM
view release on metacpan or search on metacpan
Apache::AuthPAM works as follows:
First, it calls C<pam_start> with the selected service.
Second, it calls C<pam_authenticate> with the browser/apache supplied username and password.
Later, it calls C<pam_acct_mgmt>.
And finally it calls C<pam_end>.
If any of the PAM functions fail, Apache::AuthPAM logs an info level message and returns C<AUTH_REQUIRED>.
If all PAM functions are succesfull, Apache::AuthPAM logs an info level message and returns C<OK>.
If you are going to use your system password database, you
B<MUST> also use B<mod_ssl>.
=head1 BUGS
I'am using a global symbol.
Apache::AuthPAM is running as the same user mod_perl is running
(on RedHat Linux it is apache). It is running without privileges.
=head1 AUTHOR
The sample PAM application check_user.c was contribuited by Shane Watts
with modifications by AGM.
=head1 COPYRIGHT
This apache perl module is Free Software, and can be used under
the terms of the GNU General Public License v2.0 or later.
=head1 SEE ALSO
L<perl>, L<mod_perl>, L<mod_ssl>, L<Authen::PAM>, L<Linux-PAM>
=cut
( run in 0.494 second using v1.01-cache-2.11-cpan-acf6aa7dc9e )