auth::password::RetrievePassword (private)

 auth::password::RetrievePassword -username username \
    -authority_id authority_id

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

Invoke the RetrievePassword operation on the given authority. Throws an error if the authority does not have a password management driver.

Switches:
-username (required)
-authority_id (required)
The ID of the authority the user belongs to.
Author:
Peter Marklund

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

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

    if { $impl_id eq "" } {
        set authority_pretty_name [auth::authority::get_element -authority_id $authority_id -element "pretty_name"]
        error "The authority '$authority_pretty_name' doesn't support password management"
    }

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

    return [acs_sc::invoke  -error  -contract "auth_password"  -impl_id $impl_id  -operation RetrievePassword  -call_args [list $username  $parameters]]
XQL Not present:
Generic, PostgreSQL, Oracle
[ hide source ] | [ make this the default ]
Show another procedure: