Forum Discussion
APM VPN policy with a hiddent domain addition
Hello Users normally login with username@domain, which matches their UPN and also matches RSA username. Now that Office365 federation requires a UPN change, their UPN will be changed to a much longer domain name that they have to type every time they login. Is it possible to modify RSA logon page step in the policy so that they just type their username and F5 will add a domain name when it is passed to RSA for authentication? Like this: 1. User just types "username" and their PIN+Tokencode 2. F5 APM policy transforms the "username" to "username@somelongdomainname" and passes the new username and pin+tokencode to RSA
What is the best way to do it? Environment is complex and we cannot just change RSA usernames to a short name (we tried)
- Stanislas_Piro2
Cumulonimbus
you can use following variable assign
session.logon.last.username =
expr { [set username [string tolower [mcget {session.logon.last.logonname}]]] contains "@" ? $username : "$username@domain.local" }
- youssef1
Cumulonimbus
Hello,
Add a "Variable assign" and set it like that:
Custom Variable: session.logon.last.username Custom expression: expr { "[mcget {session.logon.last.username}]@mydomain.com" }
Regards,
Recent Discussions
Related Content
* 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