<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>MC+A &#187; Single Sign On</title>
	<atom:link href="http://www.mcplusa.com/blog/tag/single-sign-on/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.mcplusa.com</link>
	<description>Connecting Business Intellingence</description>
	<lastBuildDate>Tue, 17 Jan 2012 21:54:54 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>Completing the SSO Wizard On The Google Search Appliance</title>
		<link>http://www.mcplusa.com/blog/2009/02/completing-the-sso-wizard-on-the-google-search-appliance/</link>
		<comments>http://www.mcplusa.com/blog/2009/02/completing-the-sso-wizard-on-the-google-search-appliance/#comments</comments>
		<pubDate>Tue, 10 Feb 2009 00:42:34 +0000</pubDate>
		<dc:creator>Michael</dc:creator>
				<category><![CDATA[Google Search Appliance]]></category>
		<category><![CDATA[Search]]></category>
		<category><![CDATA[5.2]]></category>
		<category><![CDATA[Short cut]]></category>
		<category><![CDATA[Single Sign On]]></category>

		<guid isPermaLink="false">http://blog.mcplusa.com/?p=145</guid>
		<description><![CDATA[This article describes how you can easily complete the SSO forms wizard on your Google Search Appliance if you have javascript or something else preventing it from being saved.]]></description>
			<content:encoded><![CDATA[<p>Invariably, more often recently we have been involved with configuring the Google Search Appliance with <a title="Link to Google SSO help file" href="http://code.google.com/apis/searchappliance/documentation/52/secure_search/secure_search_crwlsrv.html#authentication_authorization_and_controlled_access_content" target="_blank">Single Sign On</a> forms authentication based content. As you may know, this is one of my many on board features of the appliance. In many cases it can be easier said than done to complete the wizard successfully. This article demonstrates some easy tricks to help you complete the wizard.  Unfortunately the topic of SSO is quite large.  I will be just describing some short cuts that we employ when attempting to configure the Appliance.</p>
<p><strong>Single Sign On &#8211; The Problem</strong></p>
<p>Most of the difficulties in completing the form come from small amounts of javascript that is called with the web browser normally submits the form. The appliance does not execute any javascript on the page. It instead simply rewrites the form and presents it to you.  Evidence of javascript is when you hover over you see <code>javascript:submitLogin()</code> in your browsers status window.</p>
<p><strong>Single Sign On &#8211; The Solution</strong></p>
<p>Using a tool like <a href="http://www.ieinspector.com/httpanalyzer/" title="HTTP Analyzer, a tool to examine the posts and responses">HTTP Analyzer </a>you can examing the posts and responses during the normal login process. By taking note of the form variables submitted you can recreate this if necessary during the form wizard process.</p>
<p><a rel="lightbox" href="http://www.mcplusa.com/wp-content/uploads/2009/02/ieanalyzer.jpg"><img class="alignleft size-thumbnail wp-image-146" title="Screen Shot of IE HTTP Analyzer" src="http://www.mcplusa.com/wp-content/uploads/2009/02/ieanalyzer-150x150.jpg" alt="Screen Shot of IE HTTP Analyzer" width="216" height="150" /></a></p>
<p>Be careful to note what the javascript is actually doing. In most cases, there is no logic in the javascript. In that case, you may use the next technique to complete the wizard successfully.</p>
<p><strong>Completing the wizard:</strong></p>
<ol>
<li>
<h3>Turn off Styles</h3>
<p>Sometimes developers will use Javascript to turn on and off styles. By turning off all styles, you&#8217;ll see areas of the HTML that is hidden by CSS styles. In some cases, simply complete the form and save.
</li>
<li>
<h3>Editing the HTML that the Google Search Appliance returns to you.</h3>
<p>If you submit a ticket to Google Support with javascript as the cause, the first response will be to see about getting the javascript removed. This will involved multiple internal departments within your company or your clients company.</p>
<p>I find that this can be difficult at times. At best, a company can roll a version of the form that just the GSA sees.  Since you may need to reset the form in the future, a simple swap form temporally will need to be repeated in the future and this too can cause internal stagnation.</p>
<p>You can save yourself the trouble by simplifying editing the HTML that is returned by the appliance. If you remember earlier, I said to note what actual form variables need to be sent. Simply find the form and make appropriate changes to mimic the original submission. For example, your GSA returned form could look like this.</p>
<pre class="brush: plain; title: ; notranslate">
&lt;form action=&quot;/EnterpriseController&quot; method=&quot;post&quot; name=&quot;frm1&quot; onsubmit=&quot;defaultSubmit(); return false;&quot; /&gt;
&lt;input name=&quot;cookieUrl&quot; value=&quot;http://sso.mysite.edu:80/amserver/SomethingWrong/&quot; type=&quot;hidden&quot; /&gt;
&lt;input name=&quot;GoogleOriginalFormMethod&quot; value=&quot;GET&quot; type=&quot;hidden&quot; /&gt;
&lt;input name=&quot;cookieLoginSubmit&quot; value=&quot;true&quot; type=&quot;hidden&quot; /&gt;
&lt;input name=&quot;actionType&quot; value=&quot;ssoSites&quot; type=&quot;hidden&quot; /&gt;&lt;input name=”cookiePattern” value=&quot;http://portal.mysite.com/&quot; type=&quot;hidden&quot; /&gt;
&lt;/form&gt;
</pre>
<p><strong>Simply change it to this:</strong></p>
<pre class="brush: plain; title: ; notranslate">
&lt;form action=&quot;/EnterpriseController&quot; method=&quot;post&quot; name=&quot;frm1&quot; onsubmit=&quot;defaultSubmit(); return false;&quot;&gt;
&lt;input name=&quot;cookieUrl&quot; value=&quot;http://sso.mysite.edu:80/amserver/CorrectFormLocation&quot; type=&quot;hidden&quot;/&gt;
&lt;input name=&quot;GoogleOriginalFormMethod&quot; value=&quot;POST&quot; type=&quot;hidden&quot;/&gt;
&lt;input name=&quot;cookieLoginSubmit&quot; value=&quot;true&quot; type=&quot;hidden&quot;/&gt;;
&lt;input name=&quot;actionType&quot; value=&quot;ssoSites&quot; type=&quot;hidden&quot;/&gt;
&lt;input name=&quot;cookiePattern&quot; value=&quot;http://portal.mysite.com/&quot; type=&quot;hidden&quot;/&gt;
&lt;/form&gt;
</pre>
<p>Then, make sure that all of the text field, hidden and otherwise are included in this form.</p>
<p>Submit and save.
</li>
<li>Clicking back and save</li>
</ol>
<p>There have been times where simply clicking the back button and saving and done the trick.</p>
<p>Of course, MC+A can help you with a detail explanation of this during one of our Search Health Checks or other related support services.  Feel free to <a title="Link to MC+A Contact Form" href="http://www.mcplusa.com/contact/" target="_blank">Contact us</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.mcplusa.com/blog/2009/02/completing-the-sso-wizard-on-the-google-search-appliance/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

