jstaf
Jun 05, 2013Nimbostratus
can't get APM secure session variable value in iRule
Hello,
The above code does not work: the password value is empty.
when ACCESS_ACL_ALLOWED {
set user [ACCESS::session data get "session.logon.last.username"]
set password [ACCESS::session data get -secure "session.logon.last.password"]
HTTP::header insert "X-USERNAME" $user
for debugging purpose only
HTTP::header insert "X-PWD" $password
}
I found a workaround which is to use VPE to assign the password variable value to a non-secure custom variable, and use it in iRule.
But is it a know feature, did I miss something?
I am using 11.3 HF3
Kind regards