For more information regarding the security incident at F5, the actions we are taking to address it, and our ongoing efforts to protect our customers, click here.

Forum Discussion

THi's avatar
THi
Icon for Nimbostratus rankNimbostratus
Jan 09, 2014

Pre-fill logon form (username) in APM?

Is there any simple (or not) way to pre-fill logon form in APM (username field)? The use case is for a registration site which redirects after successful registration to login page (APM). The new registered username can be parsed either from url parameter or cookie.

 

--timo

 

2 Replies

  • Yes. Set the variable session.logon.last.username with an iRule or Variable Assign action in the VPE. Then, on the logon page, set the Username field to be Read-Only. I use this technique when using an external two-factor authentication system. Works great!

     

  • THi's avatar
    THi
    Icon for Nimbostratus rankNimbostratus
    Setting the username variable Read-Only works fine, but as it is read-only the user cannot change the value in case he wants to log in with another username. Is there any way to pre-fill the username so that it can be overwritten if needed? --timo