Forum Discussion

Eldad_162351's avatar
Eldad_162351
Icon for Nimbostratus rankNimbostratus
Aug 18, 2014

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" }

  • 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" }