Basic-Ncsa - Netscape ENTERPRISE SERVER 6.0 - NSAPI PROGRAMMER GUIDE Manual

Nsapi
Table of Contents

Advertisement

basic-ncsa

Applicable in
AuthTrans
The
function verifies authorization information sent by the client
basic-ncsa
against a database. The Authorization header is sent as part of the basic server
authorization scheme.
This function is usually used in conjunction with the PathCheck-class function
.
require-auth
Parameters
auth-type
dbm
userfile
grpfile
bucket
Examples
AuthTrans fn=basic-ncsa auth-type=basic
dbm=/netscape/server4/userdb/rs
PathCheck fn=require-auth auth-type=basic realm="Marketing Plans"
AuthTrans fn=basic-ncsa auth-type=basic
userfile=/netscape/server4/.htpasswd
grpfile=/netscape/server4/.grpfile
PathCheck fn=require-auth auth-type=basic realm="Marketing Plans"
-class directives.
specifies the type of authorization to be used. This should
always be basic.
(optional) specifies the full path and base file name of the
user database in the server's native format. The native
format is a system DBM file, which is a hashed file format
allowing instantaneous access to billions of users. If you use
this parameter, don't use the userfile parameter as well.
(optional) specifies the full path name of the user database
in the NCSA-style HTTPD user file format. This format
consists of lines using the format
password
is encrypted. If you use this parameter, don't use
dbm.
(optional) specifies the NCSA-style HTTPD group file to be
used. Each line of a group file consists of
... userN
where each user is separated by spaces.
optional, common to all obj.conf functions
Chapter 3
Predefined SAFs and the Request Handling Process
AuthTrans Stage
name:password
, where
group
user1 user2
:
51

Advertisement

Table of Contents
loading

This manual is also suitable for:

Enterprise server 6.0

Table of Contents