Forum Discussion
Trying to mimic the webmail private and public computer settings using an irule
If you're not using forms in OWA, you have to access those options by inserting some special headers. This is the same thing that Forefront/TMG/whatever does when it does Forms Auth --> HTTP Auth. Like you're doing with APM.
Two headers "X-Experience" and "X-LogonType" control it:
X-Experience can be "premium" or "light". X-LogonType can be "public" or "private".
To append the headers, you'd set a custom (whatever you want) session variable during Access Policy execution, then you can use something like this on the APM vs:
when ACCESS_ACL_ALLOWED {
if { [ACCESS::session data get "session.somecustomvariableyoucansetintheaccesspolicy"] contains "somevalueyousetforlightmode" } {
HTTP::header replace "X-Experience" "light"
}
else {
HTTP::header replace "X-Experience" "premium"
}
}
Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)Recent Discussions
Related Content
* Getting Started on DevCentral
* Community Guidelines
* Community Terms of Use / EULA
* Community Ranking Explained
* Community Resources
* Contact the DevCentral Team
* Update MFA on account.f5.com