Apache2-AuthCookieLDAP

 view release on metacpan or  search on metacpan

README  view on Meta::CPAN

Apache2::AuthCookieLDAP is a module that subclasses Apache2::AuthCookie
and acts as an authentication backend to check a user credentials against an
LDAP server. In case of successfull authentication an encrypted session key is
stored as a browser authentication cookie on the client's side.

Latest distribution at: http://search.cpan.org/dist/Apache2-AuthCookieLDAP
 
Maintainer: ksolomko@cpan.org

lib/Apache2/AuthCookieLDAP.pm  view on Meta::CPAN

        AuthName MyAuth
        PerlResponseHandler Apache2::AuthCookieLDAP->logout
    </Location>

=head1 DESCRIPTION

This module acts as an authentication handler under Apache2 environment. 
It uses Apache2::AuthCookie as the base class and serves as a backend to 
provide user authentication against an LDAP server.

Make sure that you have got a reachable LDAP server and credentials to access it 
(ldapuri, base, binddn/bindpw or anonymous bind).

When there is an attempt to access a "protected" directory or location
that has 'require valid-user' option included Apache2::AuthCookieLDAP is used 
as the authentication and the authorization handler. It takes a pair of
provided username/password and tries to search the username in the LDAP directory 
(it also uses the filter MyAuth_Filter, for puropses where you want to restrict access
to the resource to only a specific group). If the user is found then it tries 
to bind with the provided username/password.  Once authorized a session key 
is generated by taking into account the provided username, authorization time 

 view all matches for this distribution
 view release on metacpan -  search on metacpan

( run in 1.419 second using v1.00-cache-2.02-grep-82fe00e-cpan-f73e49a70403 )