Oudi_Cohen_Kash
Altocumulus
May 22, 2022i-rule header insert - APM
Hi,
I built this irule.
when HTTP_REQUEST {
#HTTP::header replace "Host" "x.x.x.x"
}
when ACCESS_ACL_ALLOWED {
HTTP::header insert "username" "user name value"
HTTP::header insert "userpass" "password value"
I want to change the user name value and the password value to parameters from Active Directory.
How can I do that?
Thtanks.
Try:
HTTP::header insert "userpass" [ACCESS::session data get -secure session.sso.token.last.password]
But I would NOT write the password in a http header.