Forum Discussion
Ingebrigt_Maurs
Nimbostratus
Nov 21, 2014Clientless mode redirects on Deny
Hi !
I'm writing an access policy for a legacy webservice. Existing clients authenticate with Basic auth and can't follow redirects. To avoid redirects I enabled clientless mode:
when HT...
Ingebrigt_Maurs
Nimbostratus
Dec 08, 2014I was able to solve this problem with something like this:
when ACCESS_POLICY_COMPLETED {
set policy_result [ACCESS::policy result]
switch $policy_result {
"allow" {
}
"deny" {
ACCESS::respond 401 content $static::actsync_401_http_body Connection close
ACCESS::session remove
}
default {
ACCESS::respond 503 content $static::actsync_503_http_body Connection close
ACCESS::session remove
}
}
Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)Recent Discussions
Related Content
DevCentral Quicklinks
* 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
Discover DevCentral Connects