The latest version of the Web Interface SDK is 5.4, which can be downloaded here:
Http://www.citrix.com/static/cdn/archivedsdks/webinterfacesdk/5.4/WI5_4_0_SDK.zip
Because customers often want to integrate Xenapp/xendesktop's Web Access site and their own portal site, they use the WI SDK to develop on their own portal site.
And many times, these developed sites are located in the enterprise intranet, the client through the portal site access to Xenapp/xendesktop, the network will not be restricted and affected.
Once the user needs to pass through the firewall, it is generally recommended to use NetScaler as the publishing gateway. We know that login verification can be placed on the NetScaler or on WI. If it is the portal of your own development, of course, do not want to put in NetScaler inside. So most will choose to use the WI SDK to log in. In order for users outside the NetScaler gateway to successfully contact the internal private address and Port 1494/2598, it is necessary to use the STA to access the information through the ticket.
Although the original is written, this part of the content comes from Davy Huang.
Information about the STA using the WI SDK This article is very clear http://stackoverflow.com/questions/603682/ How-do-i-code-citrix-web-sites-to-use-a-secure-gateway-csg
Connectionroutingpolicy policy = Config.getdmzroutingpolicy ();
Policy.getrules (). Clear ();
Set the Secure ticketing authorities (STAs).
Stagroup stagr = new Stagroup ();
Stagr.addstaurl (@ "Http://CitrixAppServerURL/scripts/ctxsta.dll");
creat Secure Gateway conenction
Sgconnectionroute Sgroute = new Sgconnectionroute (@ "Https://CSGURL");
Sgroute.setusesessionreliability (FALSE);
Sgroute.setgatewayport (80);
Sgroute.setticketauthorities (STAGR);
Add the Sgroute to the policy
Policy.setdefault (Sgroute);
The description of the method and class can be found in the SDK documentation.
650) this.width=650; "title=" clip_image001 "style=" border-top:0px; border-right:0px; Background-image:none; border-bottom:0px; padding-top:0px; padding-left:0px; border-left:0px; padding-right:0px "border=" 0 "alt=" clip_image001 "src=" http://s3.51cto.com/wyfs02/M02/74/A6/ Wkiom1yk4c-ywveeaagyrdje3is395.jpg "" 910 "height=" 397 "/>
650) this.width=650; "title=" clip_image002 "style=" border-top:0px; border-right:0px; Background-image:none; border-bottom:0px; padding-top:0px; padding-left:0px; border-left:0px; padding-right:0px "border=" 0 "alt=" clip_image002 "src=" http://s3.51cto.com/wyfs02/M00/74/A6/ Wkiom1yk4dcz9i10aaixgdoe6cg195.jpg "" 911 "height=" 398 "/>
Development of WI Custom site for NetScaler AG deployment