ad_restrict_entire_server_to_registered_users

one of the documented procedures in this installation of the ACS
Usage:
ad_restrict_entire_server_to_registered_users   conn   args   why
What it does:
A preauth filter that will halt service of any page if the user is unregistered, except the site index page and stuff underneath /register
Defined in: /web/philip/packages/acs-core/security-procs.tcl

Source code:


    if {![string match "/index.tcl" [ns_conn url]] && ![string match "/" [ns_conn url]] && ![string match "/register/*" [ns_conn url]] && ![string match "/SYSTEM/*" [ns_conn url]] && ![string match "/cookie-chain*" [ns_conn url]] && ![string match "/user_please_login.tcl" [ns_conn url]]} {
	# not one of the magic acceptable URLs
	set user_id [ad_verify_and_get_user_id]
	if {$user_id == 0} {
	    ad_returnredirect "/register/?return_url=[ns_urlencode [ns_conn url]?[ns_conn query]]"
	    return filter_return
	}
    }
    return filter_ok


philg@mit.edu