security::secure_conn_p (public)

 security::secure_conn_p

Defined in packages/acs-tcl/tcl/security-procs.tcl

Returns true if the connection [ad_conn] is secure (HTTPS), or false otherwise.

Partial Call Graph (max 5 caller/called nodes):
%3 Object ::xo::mr::bgdelivery Object ::xo::mr::bgdelivery (public) security::secure_conn_p security::secure_conn_p Object ::xo::mr::bgdelivery->security::secure_conn_p ad_get_client_property ad_get_client_property (public) ad_get_client_property->security::secure_conn_p ad_get_login_url ad_get_login_url (public) ad_get_login_url->security::secure_conn_p ad_restrict_to_https ad_restrict_to_https (public) ad_restrict_to_https->security::secure_conn_p ad_set_client_property ad_set_client_property (public) ad_set_client_property->security::secure_conn_p

Testcases:
No testcase defined.
Source code:
    # interestingly, "string match" is faster than "string range" + "eq"

    return [string match "https:*" [ns_conn location]]
Generic XQL file:
packages/acs-tcl/tcl/security-procs.xql

PostgreSQL XQL file:
packages/acs-tcl/tcl/security-procs-postgresql.xql

Oracle XQL file:
packages/acs-tcl/tcl/security-procs-oracle.xql

[ hide source ] | [ make this the default ]
Show another procedure: