_acs-tcl__ad_change_check_password (private)

 _acs-tcl__ad_change_check_password

Defined in packages/acs-tcl/tcl/test/security-procs.tcl

Partial Call Graph (max 5 caller/called nodes):
%3 aa_log aa_log (public) aa_log_result aa_log_result (public) aa_true aa_true (public) acs::test::user::create acs::test::user::create (public) acs::test::user::delete acs::test::user::delete (public) _acs-tcl__ad_change_check_password _acs-tcl__ad_change_check_password _acs-tcl__ad_change_check_password->aa_log _acs-tcl__ad_change_check_password->aa_log_result _acs-tcl__ad_change_check_password->aa_true _acs-tcl__ad_change_check_password->acs::test::user::create _acs-tcl__ad_change_check_password->acs::test::user::delete

Testcases:
No testcase defined.
Source code:
        
        set _aa_export {}
        set body_count 1
        foreach testcase_body {{
        set user [acs::test::user::create]
        set user_id  [dict get $user user_id]
        set password [dict get $user password]

        try {

            aa_true "Old password is correct" [ad_check_password $user_id $password]

            aa_log "Change password"
            ad_change_password  $user_id  ABCD

            aa_true "New password is correct" [ad_check_password $user_id ABCD]

        } finally {
            acs::test::user::delete -user_id $user_id
        }
    }} {
          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" "ad_change_check_password (body $body_count): Error during execution: $msg, stack trace: \n$::errorInfo"
          }
          incr body_count
        }
XQL Not present:
Generic, PostgreSQL, Oracle
[ hide source ] | [ make this the default ]
Show another procedure: