Forum Discussion
eLeCtRoN
Cirrus
Dec 02, 2014Changing/Manipulate the value of an access policy session variable
Hi,
my question is, I want to do a access policy in APM first ist the Logon Page -> RSA SecureID Server Auth -> (iRule Event) -> variable assignment -> Active Directory Auth -> SSO credential ma...
Walter_Kacynski
Cirrostratus
Dec 03, 2014Try this:
when ACCESS_POLICY_AGENT_EVENT {
if { [ACCESS::policy agent_id] eq "change_username" } {
Cut/Change session variable to correct value
set new_username [string trimleft [ACCESS::session data get "session.logon.last.username"] "ras_"]
ACCESS::session data set "session.logon.custom.username"] new_username
}
}
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