auth::registration::Register (private)

 auth::registration::Register -authority_id authority_id \
    [ -username username ] [ -password password ] \
    [ -first_names first_names ] [ -last_name last_name ] \
    [ -screen_name screen_name ] [ -email email ] [ -url url ] \
    [ -secret_question secret_question ] \
    [ -secret_answer secret_answer ]

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

Invoke the Register service contract operation for the given authority.

Switches:
-authority_id
(required)
Id of the authority.
-username
(optional)
-password
(optional)
-first_names
(optional)
-last_name
(optional)
-screen_name
(optional)
-email
(optional)
-url
(optional)
-secret_question
(optional)
-secret_answer
(optional)

Partial Call Graph (max 5 caller/called nodes):
%3 auth::create_user auth::create_user (public) auth::registration::Register auth::registration::Register auth::create_user->auth::registration::Register auth::registration::create_contract auth::registration::create_contract (private) auth::registration::create_contract->auth::registration::Register acs_sc::invoke acs_sc::invoke (public) auth::registration::Register->acs_sc::invoke auth::authority::get_element auth::authority::get_element (public) auth::registration::Register->auth::authority::get_element auth::driver::get_parameter_values auth::driver::get_parameter_values (public) auth::registration::Register->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 Register  -call_args [list $parameters  $username  $authority_id  $first_names  $last_name  $screen_name  $email  $url  $password  $secret_question  $secret_answer]]
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: