_acs-authentication__auth_password_retrieve (private)
_acs-authentication__auth_password_retrieve
Defined in packages/acs-authentication/tcl/test/acs-authentication-procs.tcl
- Partial Call Graph (max 5 caller/called nodes):
- Testcases:
- No testcase defined.
Source code: set _aa_export {} set body_count 1 foreach testcase_body {{ auth::test::get_password_vars -array_name test_vars aa_silence_log_entries -severities error { # # Handle case without errors, when mail is not configured. # array set result [auth::password::retrieve -authority_id $test_vars(authority_id) -username $test_vars(username)] } if {[::acs_mail_lite::configured_p]} { aa_equals "retrieve pwd from local auth" $result(password_status) "ok" } else { aa_equals "SMTP host not configured" $result(password_status) "failed_to_connect" } aa_true "must have message on failure" {$result(password_message) ne ""} }} { aa_log "Running testcase body $body_count" set ::__aa_test_indent [info level] set catch_val [catch $testcase_body msg] if {$catch_val != 0 && $catch_val != 2} { aa_log_result "fail" "auth_password_retrieve (body $body_count): Error during execution: $msg, stack trace: \n$::errorInfo" } incr body_count }XQL Not present: Generic, PostgreSQL, Oracle