security::parameter::signed (public)
security::parameter::signed [ -max_age max_age ] value
Defined in packages/acs-tcl/tcl/security-procs.tcl
Compute a compact single-token signed value based on the parameterSecret.
- Switches:
- -max_age (optional)
- Parameters:
- value (required)
- See Also:
- Partial Call Graph (max 5 caller/called nodes):
- Testcases:
- No testcase defined.
Source code: set token_id [sec_get_random_cached_token_id] set secret [ns_config "ns/server/[ns_info server]/acs" parameterSecret ""] set signature [ad_sign -max_age $max_age -secret $secret -token_id $token_id $value] return [ns_base64urlencode [list $value $signature]]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