vaporlock_95814
Feb 08, 2012Nimbostratus
LDAP auth for specific uri
BigIP 6400s running 10.2.2
I need to authenticate users when they hit a specific uri. The rest of the site must remain open. The full requirements are:
1) Authenticate users against AD when they go to
https://www.mycompany.com/secretplace/secret.file
2) Change the pool and rewrite the uri to pull the file from
https://files.internal.mycompany.com/someotherplace/some.file
I have the second requirement done. For the first requirement, I searched but could not find an example using an authentication profile for just part of a site so I 'borrowed' _sys_auth_ldap and put a wrapper around the first block to test for the uri. This 'works' but feels wrong. Surely there is a better way...
Also, I don't need it here but will probably need to implement filtering and group checks in the future. I'm having trouble groking that.