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  -  POE::COMPONENT::SERVER::HTTPSERVER::BASICAUTHENHANDLER (3)

.ds Aq ’

NAME

POE::Component::Server::HTTPServer::BasicAuthenHandler - Basic HTTP Basic Authentication

CONTENTS

SYNOPSIS



    use POE::Component::Server::HTTPServer;
   
    my $server = POE::Component::Server::HTTPServer->new();
    $server->handlers( [
        /protected => new_handler( BasicAuthenHandler, realm ),
        /protected => MyAuthorizationHandler->new(),
        /protected => new_handler( StaticHandler, ./secretdox ),
    ] );



DESCRIPTION

BasicAuthenHandler performs the necessary processing on requests to support HTTP Basic authentication. If the user-agent making the request supplies authentication information (via the WWW-Authenticate header), this handler extracts the supplied user name and password and sets the context attributes basic_username and basic_password respectively. If no authentication is given, the handler generates and returns an appropriate 403 Unauthorized response.

Note that this handler performs authentication only, it does not perform authorization. You will need to supply logic to check the user name and password for your own purposes.

SEE ALSO

POE::Component::Server::HTTPServer::Handler

AUTHOR

Greg Fast <gdf@speakeasy.net>

COPYRIGHT

Copyright 2003 Greg Fast.

This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.

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


perl v5.20.3 POE::COMPONENT::SERVER::HTTPSERVER::BASICAUTHENHANDLER (3) 2004-01-08

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