Forum Discussion
Walter_Kacynski
Aug 21, 2014Cirrostratus
I use this in an iRule to force an HTTP Authorization header to be sent to the backend server
when ACCESS_ACL_ALLOWED {
set user [ACCESS::session data get "session.sso.token.last.username"]
set password [ACCESS::session data get "session.sso.custom.last.password"]
set authorization [b64encode $user:$password]
set headerLine "Basic $authorization"
HTTP::header insert "Authorization" $headerLine
}