Main > Programming > Libraries >

HTTPD::Authen 1.66

HTTPD::Authen 1.66

Sponsored Links

HTTPD::Authen 1.66 Ranking & Summary

RankingClick at the star to rank
Ranking Level
User Review: 0 (0 times)
File size: 0.11 MB
Platform: Any Platform
License: GPL (GNU General Public License)
Price:
Downloads: 953
Date added: 2007-03-21
Publisher: Doug MacEachern

HTTPD::Authen 1.66 description

HTTPD::Authen is a HTTP server authentication class.

SYNOPSIS

use HTTPD::Authen ();

This module provides methods for authenticating a user. It uses HTTPD::UserAdmin to lookup passwords in a database. Subclasses provide methods specific to the authentication mechanism.

Currently, under HTTP/1.0 the only supported authentication mechanism is Basic Authentication. NCSA Mosaic and NCSA HTTPd understand the proposed Message Digest Authentication, which should make it into the HTTP spec someday. This module supports both.

METHODS

new ()

Since HTTPD::Authen uses HTTPD::UserAdmin for database lookups it needs many of the same attributes. Or, if the first argument passed to the new() object constructor is a reference to an HTTPD::UserAdmin, the attributes are inherited.

The following attributes are recognized from HTTPD::UserAdmin:

DBType, DB, Server, Path, DBMF, Encrypt
And if you wish to query an SQL server: Host, User, Auth, Driver, UserTable, NameField, PasswordField
The same defaults are assumed for these attributes, as in HTTPD::UserAdmin. See HTTPD::UserAdmin for details.

$authen = new HTTPD::Authen (DB => "www-users");

basic()

Short-cut to return an HTTPD::Authen::Basic object.

$basic = $authen->basic;

digest()

Short-cut to return an HTTPD::Authen::Digest object.

$digest = $authen->digest;

type($authorization_header_value)

This method will guess the authorization scheme based on the Authorization header value, and return an object bless into that schemes class.

By using this method, it is simple to authenticate a user without even knowing what scheme is being used:

$authtype = HTTPD::Authen->type($authinfo);
@info = $authtype->parse($authinfo)
if( $authtype->check(@info) ) {
#response 200 OK, etc.
}

HTTPD::Authen 1.66 Screenshot

Advertisements

HTTPD::Authen 1.66 Keywords

Bookmark HTTPD::Authen 1.66

Hyperlink code:
Link for forum:

HTTPD::Authen 1.66 Copyright

WareSeeker periodically updates pricing and software information of HTTPD::Authen 1.66 full version from the publisher, so some information may be slightly out-of-date. You should confirm all information before relying on it. Software piracy is theft, Using crack, password, serial numbers, registration codes, key generators is illegal and prevent future development of HTTPD::Authen 1.66 Edition. Download links are directly from our publisher sites, torrent files or links from rapidshare.com, yousendit.com or megaupload.com are not allowed

Allok Video Splitter 2.2.0 Review:

Name (Required)
Email(Required)
Captcha
Featured Software

Want to place your software product here?
Please contact us for consideration.

Contact WareSeeker.com
Related Software
HttpAuth is a daemon and framework for authenticating HTTP requests. Free Download
HTTPD::GroupAdmin is a Perl module for the management of HTTP server group databases. Free Download
HttpdBase4J is an embeddable Java web server framework that supports HTTP, HTTPS, templated content. Free Download
mod_auth_aix is Apache module for authentication via AIX Loadable Authentication Modules. Free Download
Dwarf HTTP Server is a full-featured and ready-to-use web server with the Java Servlet API 2.2 and Java Server Pages 1.1. Free Download
Surfboard HTTPd provides a simple HTTP server. Free Download
Apache2::AuthenNTLM is a Perl module to perform Microsoft NTLM and Basic User Authentication. Free Download
HTTPD::Bench::ApacheBench is a Perl API for Apache benchmarking and regression testing. Free Download