Forum Discussion
jban_198207
Cirrus
Apr 27, 2015v11.6 Pulate session var from Principal Name
Hi,
Does anyone have correct Custom Expression or iRule for populating session.logon.last.username and session.logon.last.domain from Subject Alternate Name : Principal Name
Example:
…
X509...
jban_198207
Cirrus
Apr 27, 2015Hi,
Looks good. We create it this way: session.logon.last.upn = regexp {(?x)(UPN)<([^,]+)(?=>)} [mcget {session.ssl.cert.x509extension}] match UPN USER; return $USER
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