Forum Discussion
NiHo_202842
Cirrostratus
Jun 29, 2015How to run iRule after access policy
Hello,
I currently have a virtual server that provides access to specific nodes. This is protected with an access policy (AD auth + local check of username in data group by firing this iRule).
I ...
Michael_Jenkins
Cirrostratus
Jun 29, 2015I assume you're using the
HTTP_REQUEST event in your cherry-picking iRule?
In that case, you may want to check out this article that shows the event flow with regard to APM connections.
The
HTTP_REQUEST event is one of the first things to get executed (before any of the APM stuff happens). Because of this, you could do a couple things:
- Check for an
cookie and then check theMRHSession
for[ACCESS::policy result]
and if that's the case, perform your check on the uri.allow - Handle the initial request from the
event instead (or in addition to the HTTP_REQUEST event). Probably wouldn't recommend this one since it's more complex...ACCESS_POLICY_COMPLETED
Hope this helps.
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
