auth::password::ResetPassword (private)

 auth::password::ResetPassword -username username \
    [ -authority_id authority_id ]

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

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

Switches:
-username (required)
-authority_id (optional)
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::ResetPassword auth::password::ResetPassword auth::password::create_contract->auth::password::ResetPassword auth::password::reset auth::password::reset (public) auth::password::reset->auth::password::ResetPassword acs_sc::invoke acs_sc::invoke (public) auth::password::ResetPassword->acs_sc::invoke auth::authority::get_element auth::authority::get_element (public) auth::password::ResetPassword->auth::authority::get_element auth::driver::get_parameter_values auth::driver::get_parameter_values (public) auth::password::ResetPassword->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 ResetPassword  -call_args [list $username  $parameters  $authority_id]]
XQL Not present:
Generic, PostgreSQL, Oracle
[ hide source ] | [ make this the default ]
Show another procedure: