sec_populate_secret_tokens_thread_cache (private)

 sec_populate_secret_tokens_thread_cache

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

Copy secret_tokens cache to per-thread variables

Partial Call Graph (max 5 caller/called nodes):
%3 sec_get_random_cached_token_id sec_get_random_cached_token_id (public) sec_populate_secret_tokens_thread_cache sec_populate_secret_tokens_thread_cache sec_get_random_cached_token_id->sec_populate_secret_tokens_thread_cache sec_get_token sec_get_token (public) sec_get_token->sec_populate_secret_tokens_thread_cache sec_populate_secret_tokens_cache sec_populate_secret_tokens_cache (private) sec_populate_secret_tokens_thread_cache->sec_populate_secret_tokens_cache

Testcases:
No testcase defined.
Source code:
    set secret_tokens [nsv_array get secret_tokens]
    if {[llength $secret_tokens] == 0} {
        sec_populate_secret_tokens_cache
        set secret_tokens [nsv_array get secret_tokens]
    }
    foreach {id token} $secret_tokens {
        set ::security::tcl_secret_tokens($id$token
    }
Generic XQL file:
packages/acs-tcl/tcl/security-procs.xql

PostgreSQL XQL file:
packages/acs-tcl/tcl/security-procs-postgresql.xql

Oracle XQL file:
packages/acs-tcl/tcl/security-procs-oracle.xql

[ hide source ] | [ make this the default ]
Show another procedure: