Apache::Wyrd::Services::LoginServer - Login service For Auth object
<Location /logins/login.html> SetHandler perl-script PerlHandler Apache::Wyrd::Services::LoginServer PerlSetVar TicketDBFile /var/run/www/ticketfile.db PerlSetVar Debug 0 </Location>
The Login Server provides SSL encryption for a login to a Apache::Wyrd::Auth module when it must run on an insecure port. This behavior is described in the documentation for Apache::Wyrd::Services::Auth.
Apache::Wyrd::Services::Auth
It uses the TicketPad module to keep a cache of 100 recent tickets. If presented with a POST request with a 'key' parameter, it stores the key and returns OK. If presented with an authorization set (on_success, [on_fail], user, password, ticket), it returns the data to the server via a redirected GET request with the challenge parameter set to the encrypted data.
The TicketPad has a limited capacity, and old tickets are removed as new ones are added. If the authorization request is so stale it asks for a ticket that has been discarded, the LoginServer returns the status HTTP_SERVICE_UNAVAILABLE.
All other accesses fail with an AUTH_REQUIRED
(format: (returns) name (arguments after self))
handler
The handler handles all functions.
Location of the DB file holding the tickets. It should be writable by the Apache process. It should probably be unreadable by anyone else.
Set to true to allow debugging, which will go to the error log.
Size of the ticketpad is not configurable.
Barry King <wyrd@nospam.wyrdwright.com>
Authorization handler
Shared-memory encryption key and cypher.
Copyright 2002-2007 Wyrdwright, Inc. and licensed under the GNU GPL.
See LICENSE under the documentation for Apache::Wyrd.
Apache::Wyrd
1 POD Error
The following errors were encountered while parsing the POD:
You forgot a '=back' before '=head1'
To install Apache::Wyrd, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Apache::Wyrd
CPAN shell
perl -MCPAN -e shell install Apache::Wyrd
For more information on module installation, please visit the detailed CPAN module installation guide.