Forum Discussion
tiwang
Nimbostratus
Sep 17, 2014APM httpagent401 in clientless mode?
Hi out there
I just ran into a problem - I need to issue a http401 from the APM to authenticate against a remote LDAP server - and since my client isn't a full-blown browser but a client build on MS ...
Kevin_Stewart
Employee
Sep 17, 2014You are correct. Clientless-mode is disabling this "disruptive" agent. A workaround would be to use an iRule to send the 401 (in the absence of an existing Authorization) header. That iRule might look something like this:
when HTTP_REQUEST {
if { not ( [HTTP::header exists Authorization] ) } {
HTTP::respond 401 WWW-Authenticate "Basic realm=\"myrealm\""
}
}
I may have my Authorization header syntax a little off, but you should get the idea.
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