Jeremie Klein > App-CamelPKI > App::CamelPKI::Model::WebServer

Download:
CamelPKI/App-CamelPKI-0.07.tar.gz

Dependencies

Annotate this POD

CPAN RT

Open  0
Report a bug
Source  

NAME ^

App::CamelPKI::Model::WebServer - The singleton which represents the Camel-PKI AC Web server.

SYNOPSIS ^

  my $apache = $c->model("WebServer")->apache;

DESCRIPTION ^

The App::CamelPKI::Model::WebServer is a singleton owned by Catalyst which host a singleton of App::CamelPKI::SysV::Apache, reprenting the Web server in which the application is running.

CAPABILITY DISCIPLINE ^

An App::CamelPKI::Model::WebServer object represents exactly the same privileges than the App::CamelPKI::SysV::Apache object which is encapsulated in it.

CONFIGURATION ^

The following variables are configured in App::CamelPKI::Model::WebServer:

home_dir

The directory where the server private key and certificate are written.

METHODS ^

apache

Returns the App::CamelPKI::WebServer instance which represents the application Apache server.