Kyle_S
Dec 11, 2014Nimbostratus
Using clientless mode but still getting redirect
I am attempting to pull the username and password from the Authentication Basic http header. I have an iRule in place feeding the APM policy of just a basic AD Auth box.
when HTTP_REQUEST {
HTTP::header insert "clientless-mode" 1
set uservar [HTTP::username]
set passvar [HTTP::password]
}
when ACCESS_SESSION_STARTED {
ACCESS::session data set "session.logon.last.username" $uservar
ACCESS::session data set "session.logon.last.password" $passvar
log local0. "AuthBasic- uservar was $uservar"
}
Using Fiddler, I am still seeing in the debugger that I am receiving a 302 redirect to /my.policy.
I also attempted to add at the top of the iRule but still redirect to my.policy
when CLIENT_ACCEPTED {
ACCESS::restrict_irule_events disable
}
Any ideas why when I still receive the /my.policy even though I am telling it to insert "client-less mode"?