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.

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
3.138.204.208