_acs-authentication__auth_password_get_forgotten_url (private)
_acs-authentication__auth_password_get_forgotten_url
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 # With user info set url [auth::password::get_forgotten_url -authority_id $test_vars(authority_id) -username $test_vars(username)] aa_true "there is a local recover-password page with user info ($url)" [regexp {recover-password} $url] set url [auth::password::get_forgotten_url -authority_id $test_vars(authority_id) -username $test_vars(username) -remote_only] aa_equals "cannot get remote url with missing forgotten_pwd_url" $url "" # Without user info set url [auth::password::get_forgotten_url -authority_id "" -username "" -remote_only] aa_equals "cannot get remote url without user info" $url "" set url [auth::password::get_forgotten_url -authority_id "" -username ""] aa_true "there is a local recover-password page without user info" [regexp {recover-password} $url] }} { 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_get_forgotten_url (body $body_count): Error during execution: $msg, stack trace: \n$::errorInfo" } incr body_count }XQL Not present: Generic, PostgreSQL, Oracle