Apache2::AuthenDBMCache

Apache2::AuthenDBMCache is a Perl module for authentication caching.
Download

Apache2::AuthenDBMCache Ranking & Summary

Advertisement

  • Rating:
  • License:
  • Perl Artistic License
  • Price:
  • FREE
  • Publisher Name:
  • Reg Quinton
  • Publisher web site:
  • http://search.cpan.org/~reggers/Apache2-AuthenDBMCache-0.01/AuthenDBMCache.pm

Apache2::AuthenDBMCache Tags


Apache2::AuthenDBMCache Description

Apache2::AuthenDBMCache is a Perl module for authentication caching. Apache2::AuthenDBMCache is a Perl module for authentication caching.SYNOPSIS # In your httpd.conf PerlModule Apache2::AuthenDBMCache # In httpd.conf or .htaccess: AuthName Name AuthType Basic PerlAuthenHandler Apache2::AuthenDBMCache # Typical constraints one of these require valid-user require user larry moe curly require group stooges # Optional parameters/Defaults are listed to the right. PerlSetVar AuthenDBMCache_File /file-path # Default: /var/cache/authen-web PerlSetVar AuthenDBMCache_TTL 900 # Default: 3600 sec PerlSetVar AuthenDBMCache_Debug On # Default: OffApache2::AuthenDBMCache implements a caching mechanism in order to speed up authentication and to reduce the usage of system resources. It must be used in conjunction with a regular mod_perl2 authentication module (we use it to accelerate AuthenURL and AuthenMSAD methods but it can be used with any perl authentication module).When a authorization request is received this handler uses a DBM data base cache to answer the request. Each entry in the cache is indexed by a key which is a hash of user name, the authentication "realm", the authentication parameters and the password. The value at the key is an expiration date. If the supplied user name and password hash to a key which exists and has not expired then the handler returns OK and clears the downstream Authen handlers from the stack. Otherwise, it returns DECLINED and allows the next PerlAuthenHandler in the stack to be called.After the primary authentication handler completes with an OK, AuthenDBMCache adds the new hash to the cache with an appropriate expiration date. Requirements: · Perl


Apache2::AuthenDBMCache Related Software