Forum Discussion
How to hardcode/ create dropdown domain list to secure logon page
Hello All,
I have already followed the instruction below:
https://devcentral.f5.com/articles/v11-rdp-access-via-big-ip-apmpart-1.UmmbR1BkNzc
Question I have is how to hardcode/dropdonw DOMAIN part so user will not have to type in the DOMAIN. I guess the right answer is how to prepolulate DOMAIN section with DOMAIN.
Thanks
3 Replies
- nash_65851
Nimbostratus
Will you only ever be using one domain? Or will there be multiple domains that users can log on to and you want them to be able to select from a drop down list?
If it is the former, you could just not display the domain field on the log on page and then use the variable assignment in the visual policy editor to set the domain value using the session variable session.logon.last.domain
- jko5F5_151503
Nimbostratus
So I know this post is old, but I have not seen an answer on how to hardcode the domain into the Webtop login. This is how I accomplished it. I would be interested in knowing if others did it differently.
Pull up the visual editor policy you want to work on. Click on the Logon Page action property. When the new box appears, go to the customization section and select the language you want. If you are just using username, password, and domain go to Field 3. Enter in the word "domain". Go back up to type and enter none from the drop down. Under Post Variable Name and Session Variable Name enter the domain name with no slash marks. Save and apply the policy.
Browse to the webtop and you should only see text boxes for username and password. Enter the appropriate names and you should be all set.
- Kevin_Stewart
Employee
For what's worth, you can also do this:
-
Create a variable assignment right before the logon page and set session.logon.last.domain to the domain name.
-
In the logon page properties, set field 3 type to text, type the word "domain" in the Post and Session Variable Name fields, and then set Read Only to Yes. Enter the string "Domain" in the Logon Page Input Field 3 under Customization.
The logon page will display the hard coded domain name but will not allow it to be edited. If you don't want to see the domain field at all, then as Nash states, just set the session.logon.last.domain value manually in the visual policy.
Also, in 11.5, the logon page now has the option to create a dropdown box field that you can populate with different select options.
-
Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)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