auth::registration::GetElements (private)

 auth::registration::GetElements -authority_id authority_id

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

Switches:
-authority_id (required)
Author:
Peter Marklund

Partial Call Graph (max 5 caller/called nodes):
%3 auth::get_registration_elements auth::get_registration_elements (public) auth::registration::GetElements auth::registration::GetElements auth::get_registration_elements->auth::registration::GetElements auth::registration::create_contract auth::registration::create_contract (private) auth::registration::create_contract->auth::registration::GetElements acs_sc::invoke acs_sc::invoke (public) auth::registration::GetElements->acs_sc::invoke auth::authority::get_element auth::authority::get_element (public) auth::registration::GetElements->auth::authority::get_element auth::driver::get_parameter_values auth::driver::get_parameter_values (public) auth::registration::GetElements->auth::driver::get_parameter_values

Testcases:
No testcase defined.
Source code:
    set impl_id [auth::authority::get_element -authority_id $authority_id -element "register_impl_id"]

    if { $impl_id eq "" } {
        # No implementation of authentication
        set authority_pretty_name [auth::authority::get_element -authority_id $authority_id -element "pretty_name"]
        error "The authority '$authority_pretty_name' doesn't support account registration"
    }

    set parameters [auth::driver::get_parameter_values  -authority_id $authority_id  -impl_id $impl_id]

    return [acs_sc::invoke  -error  -impl_id $impl_id  -operation GetElements  -call_args [list $parameters]]
Generic XQL file:
packages/acs-authentication/tcl/authentication-procs.xql

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

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

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