AuthTrans Stage
52
Netscape Enterprise Server NSAPI Programmer’s Guide • April 2002 (Draft)
Examples
in
magnus.conf
:
in
obj.conf
:
See Also
require-auth
groupdb
(optional) specifies the full path and file name of the user
database. This parameter will be passed to the group
function.
groupfn
(optional) is the name of the group custom function that
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
) in the pb
parameter. It also has access to the
auth-type
,
auth-user
(
user
),
auth-db
(
userdb
), and
auth-password
(
pw
,
Windows NT/Windows 2000 only) parameters in the
rq->vars pblock.
The group function should determine
the user’s group using the group database, add it to
rq->vars
as
auth-group
, and return
REQ_PROCEED
if
found. It should return
REQ_NOACTION
if the user’s group
is not found.
bucket
optional, common to all
obj.conf
functions
Init fn=load-modules shlib=/path/to/mycustomauth.so
funcs=hardcoded_auth
AuthTrans fn=basic-auth auth-type=basic userfn=hardcoded_auth
PathCheck fn=require-auth auth-type=basic realm="Marketing Plans"
Summary of Contents for ENTERPRISE SERVER 6.1
Page 1: ...NSAPI Programmer s Guide Netscape Enterprise Server Version6 1 April 2002 Draft...
Page 290: ...Miscellaneous 290 Netscape Enterprise Server NSAPI Programmer s Guide April 2002 Draft...
Page 318: ...cinfo 318 Netscape Enterprise Server NSAPI Programmer s Guide April 2002 Draft...
Page 336: ...Buffered Streams 336 Netscape Enterprise Server NSAPI Programmer s Guide April 2002 Draft...
Page 344: ...344 Netscape Enterprise Server NSAPI Programmer s Guide April 2002 Draft...
Page 350: ...350 Netscape Enterprise Server NSAPI Programmer s Guide April 2002 Draft...
Page 356: ...356 Netscape Enterprise Server NSAPI Programmer s Guide April 2002 Draft...