Testshop

call testshop Call Us : +1 928-380.6570

SINGLE SIGN ON

Integrating the End-User Experience

SSO enables test administrators and their IT team to provide a single credential to enable a user to gain access to multiple related but independent software systems.  The following describes the steps involved in implementing SSO with TG Web. If you have technical questions regarding this plugin, or if you would like to schedule an online demo, please contact us.

STEPS

1) Download and install this IIS to Tomcat connector here

Note that during the install it will ask you whether you want to install this on ALL sites (default) or specific sites.  You'll want this for specific sites since otherwise it will send everything to Tomcat for all sites.  Also keep in mind that once you apply this for a given site, all content from that site will be served through Tomcat.

IMPORTANT - Make sure on the "Select Handler Mapping" step of the installation wizard, select "Servlet (add a wildcard reference and pass all traffic to tomcat)" 

2) Make sure the Windows Authentication Feature is installed (through Add/Remove Features -> Internet Information Services -> World Wide Web Services -> Security)

3) Make sure the ASP.NET<http://ASP.NET> feature is installed (through Add/Remove Features -> Internet Information Services -> World Wide Web Services -> Application Development Features) 

4) In IIS, make sure the site you want this to apply this to has Windows Authentication enabled (and Anonymous disabled) -> click on the site - then click Authentication

5) Edit tomcat/conf/server.xml and look for a line that looks like this: 
<Connector port="8009" protocol="AJP/1.3" redirectPort="8443" /> 

Add tomcatAuthentication="false" to it so it looks like this

<Connector port="8009" protocol="AJP/1.3" redirectPort="8443" tomcatAuthentication="false" />

Then stop/start Tomcat 

6) Add a file called whoami.jsp under tomcat/webapps/tester and put in the following

<%
out.println(request.getRemoteUser());
%>

7) Open up a browser and go to /tester/whoami.jsp through the IIS site, it should display the username that you're logged in as

8) Go to /tester/login_sso - it should log you right in assuming your username is set up in TG.