GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages


Manual Reference Pages  -  APACHE2::SITECONTROL::MANAGERFACTORY (3)

.ds Aq ’

NAME

Apache2::SiteControl::ManagerFactory - An abstract base class to use as a pattern for custom PermissionManager production.

CONTENTS

DESCRIPTION

This package is a simple abstract base class. Use it as the base for creating your instances of permission managers. For example,

package MyManagerFactory;

use strict; use Apache2::SiteControl::ManagerFactory;

use base qw(Apache2::SiteControl::ManagerFactory);

our $manager;

sub getPermissionManager {
return $manager if(defined($manager) && $manager->isa(Apache2::SiteControl::ManagerFactory));



   $manager = new Apache2::SiteControl::PermissionManager;

   $manager->addRule(new XYZRule);
   $manager->addRule(new SomeOtherRule);

   return $manager;
}



1;

SEE ALSO

Apache2::SiteControl::PermissionManager, Apache::SiteControl::Rule

AUTHOR

This module was written by Tony Kay, <tkay@uoregon.edu>.

COPYRIGHT AND LICENSE

Search for    or go to Top of page |  Section 3 |  Main Index


perl v5.20.3 APACHE2::SITECONTROL::MANAGERFACTORY (3) 2006-03-17

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with manServer 1.07.