O'Reilly logo

Practical Internet Groupware by Jon Udell

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

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.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required