Forum Discussion
daboochmeister
Jul 24, 2015Cirrus
APM webtop to Citrix - prefilling userid, domain for Citrix logon dialog
Env: Big-IP 4200v running 11.5.2 plain, APM fully licensed
Context: APM webtop with Citrix Remote Desktop icon, accessing F5 pool of Citrix XML brokers, replacing Storefront; users login to AP...
Lucas_Thompson_
Jul 24, 2015Historic F5 Account
You can do this, yes, but you'd have to manually edit the webtop code. Don't attempt it unless you have (or are a) a web developer on hand. Edits like these are not supported, and will not be preserved on upgrade or sync, such as between blades in a multi-blade environment. After you do these edits, you'll have to issue a "bigstart restart" to clear out the cache and regenerate it.
The file is here:
/var/sam/www/php_include/webtop/renderer/webtop_full/full/common/webtop_common.inc
Near the top of this file, you'll find some variable defs that look like:
var x = %{session.y}
Add these:
var mydomain = %{session.logon.last.domain};
var myusername = %{session.logon.last.username};
Note that you actually have access to all of the session variables, so this same sort of technique can be used to make any edits to this webtop that you want, and input custom information set during access policy execution.
Next look for the areas where "userInput" and "domainInput" are defined. This is the pop-up that appears when the citrix auto logon is unsuccessful. Add these lines so that the js sets the values you want:
domainInput.setAttribute('value',mydomain);
userInput.setAttribute('value', myusername);
You should back up the original page in case you encounter any trouble.
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