Basic-Auth - Netscape ENTERPRISE SERVER 6.1 - NSAPI PROGRAMMER GUIDE Manual

Nsapi
Table of Contents

Advertisement

The following AuthTrans-class functions are described in detail in this section:
calls a custom function to verify user name and password.

basic-auth

Optionally determines the user's group.
verifies user name and password against an NCSA-style or
basic-ncsa
system DBM database. Optionally determines the user's group.
retrieves a string that is unique to the current SSL session and
get-sslid
stores it as the
ssl-id
handles the current quality of service statistics.
qos-handler
basic-auth
Applicable in
AuthTrans
The
function calls a custom function to verify authorization
basic-auth
information sent by the client. 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
userdb
userfn
variable in the
Session->client
-class directives.
specifies the type of authorization to be used. This should
always be basic.
(optional) specifies the full path and file name of the user
database to be used for user verification. This parameter will
be passed to the user function.
is the name of the user custom function to verify
authorization. This function must have been previously
loaded with load-modules. It has the same interface as all
the SAFs, but it is called with the user name (user),
password (pw), user database (userdb), and group database
(groupdb) if supplied, in the pb parameter. The user
function should check the name and password using the
database and return REQ_NOACTION if they are not valid. It
should return REQ_PROCEED if the name and password are
valid. The basic-auth function will then add auth-type,
auth-user (user), auth-db (userdb), and
auth-password (pw, Windows NT/Windows 2000 only)
to the rq->vars pblock.
Chapter 3
Predefined SAFs and the Request Handling Process
AuthTrans Stage
parameter block.
51

Advertisement

Table of Contents
loading

This manual is also suitable for:

Enterprise server 6.1

Table of Contents