Forum Discussion
JVK_45053
Altostratus
Jan 31, 2015Custom Variable from HTTP response header
I am currently testing OTP with HTTP authentication.
We had created a web server which has a form in which we post the username and password and if successfully authenticated will return a response...
JVK_45053
Altostratus
Feb 02, 2015Created a custom variable mapping
session.custom.mobile = regexp {SUCCESS: (\d*)} [mcget {session.http.last.response_header.0}] \1 mobile; return $mobile
This worked.
The solution was designed to authenticate non AD users (like stored in SQL database) with OTP.
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