Forum Discussion
RyanDM2_175490
Nimbostratus
Jan 15, 2015Session Limit for different users
Currently, there is only one global setting for session time for an access profile. I'd like to know if there is a way that I could set, for example, a session time of 10 hours for AD group "mission ...
Michael_Jenkins
Cirrostratus
Jan 15, 2015We're doing something like this in our environment. The way I've gotten it to work is by using an iRule that gets called from the during the APM flow (added in the policy editor (VPE)). The iRule you're looking for might look something like this:
when ACCESS_POLICY_AGENT_EVENT {
if { [ACCESS::policy agent_id] eq "setSessionTimeoutAgent" } {
if { [ACCESS::session data get session.ad.last.attr.memberOf] contains "AD_GROUP_NAME" } {
ACCESS::session data set session.inactivity_timeout 10800
}
}
}
I'm not sure how to check for an OTP user since I've yet to do that, but this should help get you started...
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