Apache::AuthzCache

mod_perl Cache Authorization Module
Download

Apache::AuthzCache Ranking & Summary

Advertisement

  • Rating:
  • License:
  • IBM Public License
  • Price:
  • FREE
  • Publisher Name:
  • Christian Gilmore
  • Publisher web site:
  • http://search.cpan.org/~cgilmore/

Apache::AuthzCache Tags


Apache::AuthzCache Description

mod_perl Cache Authorization Module Apache::AuthzCache is a Perl module designed to work with a mod_perl authorization module to provide caching of group membership for site users. For a list of mod_perl authorization modules see:http://www.cpan.org/modules/by-module/Apache/apache-modlist.htmlWhen a request that requires authorization is received, Apache::AuthzCache looks up the REMOTE_USER in a shared-memory cache (using IPC::Cache) and compares the list of groups in the cache against the groups enumerated within the "require" configuration directive. If a match is found, the handler returns OK and clears the downstream Authz handlers from the stack. Otherwise, it returns DECLINED and allows the next PerlAuthzHandler in the chain to be called.After the primary authorization handler completes with an OK, Apache::AuthzCache::manage_cache adds the new group (listed in REMOTE_GROUP) to the cache.SYNOPSIS < Directory /foo/bar > # Authorization Realm and Type (only Basic supported) AuthName "Foo Bar Authentication" AuthType Basic # Any of the following variables can be set. # Defaults are listed to the right. PerlSetVar AuthzCache_CaseSensitive Off # Default: On PerlSetVar AuthzCache_CacheTime 60 # Default: Empty String ("") PerlAuthzHandler Apache::AuthzCache < Primary Authorization Module > Apache::AuthzCache::manage_cache require group "My Group" GroupA "Group B" # Authorize user against # multiple groups < /Directory > Requirements: · Perl


Apache::AuthzCache Related Software