http_auth::register_filter (public)

 http_auth::register_filter [ -url_pattern url_pattern ] [ -proc proc ]

Defined in packages/acs-tcl/tcl/http-auth-procs.tcl

Setup HTTP authentication for a URL pattern

Switches:
-url_pattern
(optional)
Follows ns_register_filter rules for defining the pattern to match.
-proc
(optional)
Name of Tcl procedure to call to check permissions. Use this to figure out what object the URL pattern matches to. This proc should accept two named parameters user_id and url. Should return a valid Tcl true or false value. If empty the site_node matching the URL will be checked.
Returns:
Tcl true or false
Author:
Dave Bauer <dave@solutiongrove.com>
Created:
2007-03-08

Partial Call Graph (max 5 caller/called nodes):
%3 ad_register_filter ad_register_filter (public) http_auth::register_filter http_auth::register_filter http_auth::register_filter->ad_register_filter

Testcases:
No testcase defined.
[ show source ]
Show another procedure: