security::parameter::validated (public)
security::parameter::validated input
Defined in packages/acs-tcl/tcl/security-procs.tcl
Validate the single-token signed value and return its content value. Raise an exception, when the signature is broken.
- Parameters:
- input (required)
- See Also:
- Partial Call Graph (max 5 caller/called nodes):
- Testcases:
- No testcase defined.
Source code: set success 0 set pair [ns_base64urldecode $input] if {[string is list -strict $pair] && [llength $pair] == 2} { lassign $pair value signature set secret [ns_config "ns/server/[ns_info server]/acs" parameterSecret ""] set success [ad_verify_signature -secret $secret $value $signature] } if {$success} { return $value } else { ad_raise invalid_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