Kit for Chapter 12
The ASP-based authorizing view
is in http://udell.roninhouse.com/examples/auth.asp.txt
(remove .txt extension for use), and its
global.asa file is http://udell.roninhouse.com/examples/global.asa.txt.
Requirements for the Authorization Example
To run the script as shown in Chapter 12, you’ll need these modules:
- Group::LdapGroup
From the directory kit (http://udell.roninhouse.com/examples/Directories.zip). Since this module requires a specific LDAP server, you might rather use Group::Simple instead.
- Docbase::Docbase
From the Docbase kit (http://udell.roninhouse.com/examples/Docbase-1.0.tar.gz). The example uses
Docbase::Docbase::getMetadata( )to extract metadata from the ProductAnalysis docbase.- CPAN’s MIME::Base64
The example uses
MIME::Base64::decode_base64( )to decode basic authorization credentials.- CPAN’s SHA
The example uses
SHA::digest( )to encode credentials for comparison with credentials stored in Netscape Directory Server.
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access