Applicable in PathCheck-class directives.
The require-proxy-auth function is a PathCheck function that makes sure that users are authenticated and triggers a password pop-up window.
PathCheck fn=require-proxy-auth auth-type=basic realm=name auth-group=group auth-users=name
The following table describes parameters for the require-proxy-auth function.
Table 5–61 require-proxy-auth Parameters
Parameter |
Description |
---|---|
auth-type |
Specifies the type of authorization to be used. The type should be basic unless you are running a UNIX proxy and are going to use your own function to perform authentication. |
realm |
A string (enclosed in double-quotation marks) sent to the client application so users can see what object they need authorization for. |
auth-user |
(optional) Specifies a list of users who get access. The list should be enclosed in parentheses with each user name separated by the pipe | symbol. |
auth-group |
(optional) Specifies a list of groups that get access. Groups are listed in the password-type file. |
PathCheck fn=require-auth auth-type=basic realm="Marketing Plans" auth-group=mktg auth-users=(jdoe|johnd|janed) |