Rotem
Jul 03, 2018Nimbostratus
Session migration on APM
Hi ,
Is there any ability on apm to take password from one session to another session ?
This is an additionnal information about Youssef answer.
You can get SID from another session if you know the userkey format.
The default user key format is
.
set OTHER_POLICY "/Common/access_policy_1"
set apm_username [ACCESS::session data get session.logon.last.username]
set apm_cookie_list [ ACCESS::uuid getsid "${OTHER_POLICY}.$apm_username" ]
set first_session [ lindex $apm_cookie_list 0 ]
set password [ ACCESS::session data get -sid first_session -secure session.logon.last.mypass]
There is only one restriction... for security reasons, the session variable session.logon.last.password can't be read from irule... you have to use a variable assign from the first policy to copy session.logon.last.password to session.logon.last.mypass
I should recommend to use multi domain SSO instead of multiple Access Policies if you want to configure linked web sites.