auth::password::CanResetPassword (private)

 auth::password::CanResetPassword -authority_id authority_id

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

Invoke the CanResetPassword operation on the given authority. Returns 0 if the authority does not have a password management driver.

Switches:
-authority_id (required)
The ID of the authority that we are inquiring about.
Author:
Peter Marklund

Partial Call Graph (max 5 caller/called nodes):
%3 auth::password::can_reset_p auth::password::can_reset_p (public) auth::password::CanResetPassword auth::password::CanResetPassword auth::password::can_reset_p->auth::password::CanResetPassword auth::password::create_contract auth::password::create_contract (private) auth::password::create_contract->auth::password::CanResetPassword acs_sc::invoke acs_sc::invoke (public) auth::password::CanResetPassword->acs_sc::invoke auth::authority::get_element auth::authority::get_element (public) auth::password::CanResetPassword->auth::authority::get_element auth::driver::get_parameter_values auth::driver::get_parameter_values (public) auth::password::CanResetPassword->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 "" } {
        return 0
    }

    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 CanResetPassword  -call_args [list $parameters]]
XQL Not present:
Generic, PostgreSQL, Oracle
[ hide source ] | [ make this the default ]
Show another procedure: