Forum Discussion
patonbike
Cirrus
Mar 01, 2019Limit particular AD users on APM?
I am doing a very basic AD login with an Active Directory AAA server and access profile. Is there a way to limit a list of users that can access the virtual server with the applied APM profile?
...
patonbike
Cirrus
Mar 05, 2019Here is what I am doing right now, not quite sure if this is a "good" solution, seems a little clunky:
when HTTP_REQUEST {
if { [string length [ACCESS::session data get session.logon.last.username]] > 0 } {
if { ((! [class match [string tolower [ACCESS::session data get session.logon.last.username]] contains MyDataGroup-acl] )) } {
HTTP::respond 200 content "Please contact XXXXXXX for access to this site."
}
}
}
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