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"
Содержание ENTERPRISE SERVER 6.1
Страница 1: ...NSAPI Programmer s Guide Netscape Enterprise Server Version6 1 April 2002 Draft...
Страница 18: ...Where to Find Related Information 18 Netscape Enterprise Server NSAPI Programmer s Guide April 2002 Draft...
Страница 138: ...CGI to NSAPI Conversion 138 Netscape Enterprise Server NSAPI Programmer s Guide April 2002 Draft...
Страница 214: ...NSAPI Functions in Alphabetical Order 214 Netscape Enterprise Server NSAPI Programmer s Guide April 2002 Draft...
Страница 290: ...Miscellaneous 290 Netscape Enterprise Server NSAPI Programmer s Guide April 2002 Draft...
Страница 310: ...The Netscape LDAP Schema 310 Netscape Enterprise Server NSAPI Programmer s Guide April 2002 Draft...
Страница 318: ...cinfo 318 Netscape Enterprise Server NSAPI Programmer s Guide April 2002 Draft...
Страница 324: ...Sample MIME Types File 324 Netscape Enterprise Server NSAPI Programmer s Guide April 2002 Draft...
Страница 336: ...Buffered Streams 336 Netscape Enterprise Server NSAPI Programmer s Guide April 2002 Draft...
Страница 344: ...344 Netscape Enterprise Server NSAPI Programmer s Guide April 2002 Draft...
Страница 350: ...350 Netscape Enterprise Server NSAPI Programmer s Guide April 2002 Draft...
Страница 356: ...356 Netscape Enterprise Server NSAPI Programmer s Guide April 2002 Draft...