<?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>Institutional Knowledge &#187; Authentication</title>
	<atom:link href="http://blogs.csuchico.edu/ik/category/authentication/feed/" rel="self" type="application/rss+xml" />
	<link>http://blogs.csuchico.edu/ik</link>
	<description>Wherein we write down some stuff that we know.</description>
	<lastBuildDate>Mon, 24 Aug 2009 16:28:28 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9-rare</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>CAS Strikes Again</title>
		<link>http://blogs.csuchico.edu/ik/2008/03/24/cas-strikes-again/</link>
		<comments>http://blogs.csuchico.edu/ik/2008/03/24/cas-strikes-again/#comments</comments>
		<pubDate>Mon, 24 Mar 2008 21:40:28 +0000</pubDate>
		<dc:creator>sjungling</dc:creator>
				<category><![CDATA[Authentication]]></category>

		<guid isPermaLink="false">http://blogs.csuchico.edu/ik/?p=319</guid>
		<description><![CDATA[In the last two weeks, WEBD has upgraded two of our big services: Confluence and JIRA. As apart of these upgrades we turned over authentication to CAS, our single-sign-on service. Now users will be able to jump back and forth between Confluence and JIRA without having to login a second time. Confluence now becomes a [...]]]></description>
			<content:encoded><![CDATA[<p>In the last two weeks, <span class="caps">WEBD </span>has upgraded two of our big services: <a title="Confluence" href="https://wiki.csuchico.edu">Confluence</a> and <a title="JIRA" href="https://jira.csuchico.edu"><span class="caps">JIRA</span></a>. As apart of these upgrades we turned over authentication to <span class="caps">CAS, </span>our single-sign-on service. Now users will be able to jump back and forth between Confluence and <span class="caps">JIRA </span>without having to login a second time. Confluence now becomes a great place to keep documentation and support for web applications that also employ <span class="caps">CAS </span>authentication.</p>]]></content:encoded>
			<wfw:commentRss>http://blogs.csuchico.edu/ik/2008/03/24/cas-strikes-again/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Tomcat SSL Performance</title>
		<link>http://blogs.csuchico.edu/ik/2008/03/13/tomcat-ssl-performance/</link>
		<comments>http://blogs.csuchico.edu/ik/2008/03/13/tomcat-ssl-performance/#comments</comments>
		<pubDate>Thu, 13 Mar 2008 17:06:13 +0000</pubDate>
		<dc:creator>pberry</dc:creator>
				<category><![CDATA[Authentication]]></category>
		<category><![CDATA[Recent Projects]]></category>

		<guid isPermaLink="false">http://blogs.csuchico.edu/ik/?p=316</guid>
		<description><![CDATA[Wherein we discuss the poor performance of ancient versions of the Java Virtual Machine.]]></description>
			<content:encoded><![CDATA[<p>We run a number of applications in Tomcat (both 5.0.x and 5.5.x) and for the most part we&#8217;re very happy with the performance we get.  There is one time of the year where our <a href="http://www.ja-sig.org/products/cas/"><span class="caps">CAS</span></a> (Central Authentication Service) gets killed though, and it&#8217;s because of <span class="caps">SSL </span>connections.  Let me elaborate, it&#8217;s because of Tomcat 5.0.x running under <span class="caps">JDK</span> 1.4.x.  One application for one hour out of the year floods <span class="caps">CAS </span>with so many requests that it can&#8217;t keep up due to the overhead of <span class="caps">SSL.  JDK</span> 1.4 just can&#8217;t deal with <span class="caps">SSL </span>very well, or rather, very quickly.  The threads fill up and start blocking connections.  In the business we call that <span class="caps">LTO </span>(Less Than Optimal).</p>

<p>Now, there are many technical solutions (Tomcat has native <a href="http://tomcat.apache.org/tomcat-5.5-doc/apr.html"><span class="caps">APR </span>libraries</a>, we could front with Apache httpd or we have hardware that can do <span class="caps">SSL </span>but the latter has security issues) which we never deployed because for <em>1 hour out of the 8,760 hours in a year</em> we do just fine with the existing setup.  Yes, I understand that&#8217;s <em>only</em> 99.988% uptime, but still it&#8217;s pretty good.</p>

<p>Now, you&#8217;re probably thinking to yourself &#8220;Where the heck have these guys been?  Java 5 gives you a huge performance boost and Java 6 just adds to the gains provided by 5!&#8221;  We&#8217;ve been deploying Java 5 on upgrades and new applications. We just never got to <span class="caps">CAS </span>and honestly there was no real need because <span class="caps">CAS </span>is so simple and so solid, you rarely think about it once it&#8217;s running.</p>

<blockquote>Give me numbers, Mrs. Landingham!</blockquote>

<p>I fired up httperf and grabbed some numbers.</p>

<h3><span class="caps">JDK</span> 1.4.2_06</h3>



<pre>
Total: connections 2000 requests 2000 replies 2000 test-duration 83.398 s

Connection rate: 24.0 conn/s (41.7 ms/conn, &lt; =311 concurrent connections)
Connection time [ms]: min 449.9 avg 6122.5 max 47219.6 median 3891.5 stddev 6211.0
Connection time [ms]: connect 6011.3
Connection length [replies/conn]: 1.000

Request rate: 24.0 req/s (41.7 ms/req)
</pre>



<h3><span class="caps">JDK</span> 1.5.0_15</h3>

</pre>

<pre>
Total: connections 2000 requests 2000 replies 2000 test-duration 57.203 s

Connection rate: 35.0 conn/s (28.6 ms/conn, &lt; =26 concurrent connections)
Connection time [ms]: min 79.7 avg 255.5 max 3421.0 median 163.5 stddev 230.4
Connection time [ms]: connect 225.6
Connection length [replies/conn]: 1.000

Request rate: 35.0 req/s (28.6 ms/req)
</pre>



That&#8217;s roughly a 28% increase in the time to process a request.  Now, we all know that there are lies, damn lies, and statistics.  This is by <em>no means</em> an exhaustive breakdown of the differences between <span class="caps">SSL </span>performance between these two <span class="caps">JVM</span>s.  This is simply a small bit of empirical data.  That being said, it&#8217;s probably the cheapest and easiest performance gain your ever likely to get.</pre>]]></content:encoded>
			<wfw:commentRss>http://blogs.csuchico.edu/ik/2008/03/13/tomcat-ssl-performance/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>CAS-ifying Wordpress MU</title>
		<link>http://blogs.csuchico.edu/ik/2006/10/29/cas-ifying-wordpress-mu/</link>
		<comments>http://blogs.csuchico.edu/ik/2006/10/29/cas-ifying-wordpress-mu/#comments</comments>
		<pubDate>Mon, 30 Oct 2006 01:21:27 +0000</pubDate>
		<dc:creator>pberry</dc:creator>
				<category><![CDATA[Authentication]]></category>
		<category><![CDATA[HOWTO]]></category>
		<category><![CDATA[Weblogs]]></category>

		<guid isPermaLink="false">http://blogs.csuchico.edu/ik/2006/10/29/cas-ifying-wordpress-mu/</guid>
		<description><![CDATA[A huge thanks to Andrej Ciho for posting his HOWTO CAS-ify Wordpress MU.  This could be a big help for us, and many other institutions that are using CAS.]]></description>
			<content:encoded><![CDATA[<p>A huge thanks to Andrej Ciho for posting his <a href="http://www.andrejciho.com/wordpress-mu/wpmu-cas-integration/"><span class="caps">HOWTO CAS</span>-ify Wordpress MU</a>.  This could be a big help for us, and many other institutions that are using <span class="caps">CAS.</span></p>]]></content:encoded>
			<wfw:commentRss>http://blogs.csuchico.edu/ik/2006/10/29/cas-ifying-wordpress-mu/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>CASLogin Plugin</title>
		<link>http://blogs.csuchico.edu/ik/2006/07/10/caslogin-plugin/</link>
		<comments>http://blogs.csuchico.edu/ik/2006/07/10/caslogin-plugin/#comments</comments>
		<pubDate>Mon, 10 Jul 2006 17:41:00 +0000</pubDate>
		<dc:creator>sjungling</dc:creator>
				<category><![CDATA[Authentication]]></category>
		<category><![CDATA[LDAP]]></category>
		<category><![CDATA[Ruby on Rails]]></category>
		<category><![CDATA[Web Development]]></category>

		<guid isPermaLink="false">http://blogs.csuchico.edu/ik/2006/07/10/caslogin-plugin/</guid>
		<description><![CDATA[Wherein we develop a CAS plugin for Rails.]]></description>
			<content:encoded><![CDATA[<p>In an effort to further <span>abstract</span> the <span class="caps">CAS</span> Login portion of our Ruby on Rails applications, I&#8217;ve taken our <span class="caps">CAS</span> Login Module and turned that into a plugin that can be included in any past or present Rails applications and managed separate from the development of the applications themselves. You can read all about how the plugin works and how to use it in your application on the <a href="http://developer.csuchico.edu/wiki/ruby_on_rails:caslogin_plugin">Developer Wiki</a>. </p>

<p>This also marks the beginning of our public <a href="http://developer.csuchico.edu/svn">Subversion repository</a> allowing other developers to access our code via <span class="caps">SVN.</span> Currently, the <span class="caps">CASL</span>ogin plugin is the only source available and only Web Services has write permissions to the repository.</p>

<p><strong>Links</strong></p>

<ul>
<li><a href="http://developer.csuchico.edu/wiki/ruby_on_rails:caslogin_plugin">http://developer.csuchico.edu/wiki/ruby_on_rails:caslogin_plugin</a></li>
<li><a href="http://developer.csuhico.edu/svn">http://developer.csuhico.edu/svn</a></li>
</ul>
<!-- technorati tags begin --><p style="font-size:10px;text-align:right;">technorati tags:<a href="http://technorati.com/tag/cas" rel="tag">cas</a>, <a href="http://technorati.com/tag/wiki" rel="tag">wiki</a>, <a href="http://technorati.com/tag/plugin" rel="tag">plugin</a>, <a href="http://technorati.com/tag/rubyonrails" rel="tag">rubyonrails</a></p><!-- technorati tags end -->]]></content:encoded>
			<wfw:commentRss>http://blogs.csuchico.edu/ik/2006/07/10/caslogin-plugin/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Happy LDAP</title>
		<link>http://blogs.csuchico.edu/ik/2005/12/05/happy-ldap/</link>
		<comments>http://blogs.csuchico.edu/ik/2005/12/05/happy-ldap/#comments</comments>
		<pubDate>Mon, 05 Dec 2005 19:31:44 +0000</pubDate>
		<dc:creator>pberry</dc:creator>
				<category><![CDATA[Authentication]]></category>
		<category><![CDATA[LDAP]]></category>
		<category><![CDATA[Portal]]></category>

		<guid isPermaLink="false">http://fozzy.csuchico.edu/wordpress/?p=29</guid>
		<description><![CDATA[Where in we discover highly available LDAP.]]></description>
			<content:encoded><![CDATA[<p>We now have our <span class="caps">LDAP </span>servers running behind a virtual host maintained by a Cisco Systems content switch.  This is a very good thing as it should allow us to do <span class="caps">LDAP </span>maintenance in the future with minimal to no interruptions.  Secure, redundant, fail-over&#8230;ahhhh, how sweet it is.</p>]]></content:encoded>
			<wfw:commentRss>http://blogs.csuchico.edu/ik/2005/12/05/happy-ldap/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>The Best Laid Plans</title>
		<link>http://blogs.csuchico.edu/ik/2005/11/28/the-best-laid-plans/</link>
		<comments>http://blogs.csuchico.edu/ik/2005/11/28/the-best-laid-plans/#comments</comments>
		<pubDate>Mon, 28 Nov 2005 16:51:19 +0000</pubDate>
		<dc:creator>pberry</dc:creator>
				<category><![CDATA[Authentication]]></category>
		<category><![CDATA[Portal]]></category>

		<guid isPermaLink="false">http://fozzy.csuchico.edu/wordpress/2005/11/28/the-best-laid-plans/</guid>
		<description><![CDATA[Wherein DNS bites us.]]></description>
			<content:encoded><![CDATA[<p>The thing about fail-over plans is that no matter how well you plan, unless you actually test them, you&#8217;re probably missing something.  We ran into just this situation with our authentication services over the Thanksgiving break.  We made the assumption that <span class="caps">DNS </span>clients were not caching the IPs of aliases.  We were wrong.</p>

<p>At least now our plan is tested.</p>]]></content:encoded>
			<wfw:commentRss>http://blogs.csuchico.edu/ik/2005/11/28/the-best-laid-plans/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Rails Single Sign-On</title>
		<link>http://blogs.csuchico.edu/ik/2005/11/16/rails-single-sign-on/</link>
		<comments>http://blogs.csuchico.edu/ik/2005/11/16/rails-single-sign-on/#comments</comments>
		<pubDate>Thu, 17 Nov 2005 00:03:01 +0000</pubDate>
		<dc:creator>pberry</dc:creator>
				<category><![CDATA[Authentication]]></category>
		<category><![CDATA[Ruby on Rails]]></category>

		<guid isPermaLink="false">http://fozzy.csuchico.edu/wordpress/2005/11/16/rails-single-sign-on/</guid>
		<description><![CDATA[Wherein we play with using CAS with rails apps.]]></description>
			<content:encoded><![CDATA[<p>So I spent a little time today getting a Rails app <a href="https://clearinghouse.ja-sig.org/wiki/display/CAS/Home"><span class="caps">CAS</span>-ified</a>.  It&#8217;s very ugly, but effective.  With a little more work it can probably be made quite generic and usable outside of <span class="caps">CSU,</span> Chico.</p>]]></content:encoded>
			<wfw:commentRss>http://blogs.csuchico.edu/ik/2005/11/16/rails-single-sign-on/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
