Forum Discussion
user based route - APM, recommended method?
hello,
i have a lab with apm running and linux clients connecting through ssl-vpn, what i want to do next is to route and assign resource based on the user login, the authentications is based on the local db for now but havent found a way to "grab" the username somewhere in the virtual policy editor and assign a resource based on it.
would appriciate any help.
thanks E.
Hello,
You can add an "Advanced Resource Assign" on your VPE. Then you can add resources that you want for your user and add an expression similar to that :
expr { [mcget {session.sso.token.last.username}] == "myusername" }
or
expr { [mcget {session.logon.last.username}] == "myusername" }
Hello,
You can add an "Advanced Resource Assign" on your VPE. Then you can add resources that you want for your user and add an expression similar to that :
expr { [mcget {session.sso.token.last.username}] == "myusername" }
or
expr { [mcget {session.logon.last.username}] == "myusername" }
- Eldad_162351NimbostratusHey Yann, It Works Great Now. Thanks. Eldad.
- Yann_Desmarest_Nacreous
Hello,
You can add an "Advanced Resource Assign" on your VPE. Then you can add resources that you want for your user and add an expression similar to that :
expr { [mcget {session.sso.token.last.username}] == "myusername" }
or
expr { [mcget {session.logon.last.username}] == "myusername" }
- Eldad_162351NimbostratusHey Yann, It Works Great Now. Thanks. Eldad.
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