ad_get_external_registries (public)
ad_get_external_registries [ -subsite_id subsite_id ]
Defined in packages/acs-tcl/tcl/security-procs.tcl
Return for the specified subsite (or the current registry subsite) the external authority interface objs. Per default, all defined external registries are returned, but a subsite might restrict this.
- Switches:
- -subsite_id (optional)
- Partial Call Graph (max 5 caller/called nodes):
- Testcases:
- webtest_example
Source code: if {$subsite_id eq ""} { set subsite_id [dict get [security::get_register_subsite] subsite_id] } set offered_registries [parameter::get -parameter OfferedRegistries -package_id $subsite_id -default *] set result {} if {[nsf::is object ::xo::Authorize]} { foreach auth_obj [::xo::Authorize info instances -closure] { # # Don't list on the general available pages the external # authorization objects when these are configured in debugging # mode. # if {[$auth_obj cget -debug]} { continue } if {$offered_registries eq "*" || $auth_obj in $offered_registries } { lappend result $auth_obj } } } return $resultGeneric 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