<?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>Democratic ambitions... and software dev juices &#187; Open Source</title>
	<atom:link href="http://www.alessandro.vincelli.name/tag/open-source/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.alessandro.vincelli.name</link>
	<description>by alessandro vincelli</description>
	<lastBuildDate>Mon, 09 Jan 2012 10:02:17 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
<atom:link rel="hub" href="http://pubsubhubbub.appspot.com"/><atom:link rel="hub" href="http://superfeedr.com/hubbub"/>		<item>
		<title>Spring Security, OpenID, Wicket Demo</title>
		<link>http://www.alessandro.vincelli.name/2011/05/11/spring-security-openid-wicket-demo/</link>
		<comments>http://www.alessandro.vincelli.name/2011/05/11/spring-security-openid-wicket-demo/#comments</comments>
		<pubDate>Wed, 11 May 2011 09:45:36 +0000</pubDate>
		<dc:creator>Alessandro</dc:creator>
				<category><![CDATA[English]]></category>
		<category><![CDATA[Open Source]]></category>
		<category><![CDATA[openID]]></category>
		<category><![CDATA[spring]]></category>
		<category><![CDATA[spring security]]></category>

		<guid isPermaLink="false">http://www.alessandro.vincelli.name/?p=247</guid>
		<description><![CDATA[I completed the setup of a small application that use Spring Security to perform an OpenID authentication. The application integrates also SpringSecurity and Wicket Security. Follows some details. The demo conatains two different solutions, one uses the spring namespace, the other configures explicilty Spring security filters and providers. The main issue to solve is how [...]]]></description>
			<content:encoded><![CDATA[<p>I completed the setup of a small application that use Spring Security to perform an OpenID authentication. The application integrates also SpringSecurity and Wicket Security. Follows some details.</p>
<p>The demo conatains two different solutions, one uses the spring namespace, the other configures explicilty Spring security filters and providers.</p>
<p>The main issue to solve is <em>how store the OpenID attributes returned from the OpenID provider to the Sprin UserDetails object</em>.</p>
<p><strong>Spring Security Name Space OpenID Setup</strong></p>
<p>Through the element <em>&lt;openid-login/&gt;</em> Spring  auto-configures an <em>OpenIDAuthenticationFilter</em> and an <em>OpenIDAuthenticationProvider. </em>The element <em>&lt;attribute-exchange/&gt; </em>contains all the  OpenId attribute element to ask to the provider.</p>

<div class="wp_syntax"><div class="code"><pre class="xml" style="font-family:monospace;"><span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;security:http<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
 <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;security:anonymous</span> <span style="color: #000066;">enabled</span>=<span style="color: #ff0000;">&quot;false&quot;</span> <span style="color: #000000; font-weight: bold;">/&gt;</span></span>
 <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;security:logout</span> <span style="color: #000000; font-weight: bold;">/&gt;</span></span>
 <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;security:openid</span> -login <span style="color: #000066;">authentication-success-handler-ref</span>=<span style="color: #ff0000;">&quot;authenticationSuccessHandler&quot;</span> <span style="color: #000066;">login-page</span>=<span style="color: #ff0000;">&quot;/login&quot;</span> <span style="color: #000066;">authentication-failure-url</span>=<span style="color: #ff0000;">&quot;/?login_error=true&quot;</span> <span style="color: #000000; font-weight: bold;">&gt;</span></span>
 <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;security:attribute</span> -exchange<span style="color: #000000; font-weight: bold;">&gt;</span></span>
 <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;security:openid</span> -attribute <span style="color: #000066;">name</span>=<span style="color: #ff0000;">&quot;email&quot;</span> <span style="color: #000066;">type</span>=<span style="color: #ff0000;">&quot;http://schema.openid.net/contact/email&quot;</span> <span style="color: #000066;">required</span>=<span style="color: #ff0000;">&quot;true&quot;</span> <span style="color: #000000; font-weight: bold;">/&gt;</span></span>
 <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;security:openid</span> -attribute <span style="color: #000066;">name</span>=<span style="color: #ff0000;">&quot;firstName&quot;</span> <span style="color: #000066;">type</span>=<span style="color: #ff0000;">&quot;http://axschema.org/namePerson/first&quot;</span> <span style="color: #000066;">required</span>=<span style="color: #ff0000;">&quot;true&quot;</span> <span style="color: #000000; font-weight: bold;">/&gt;</span></span>
 <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;security:openid</span> -attribute <span style="color: #000066;">name</span>=<span style="color: #ff0000;">&quot;lastName&quot;</span> <span style="color: #000066;">type</span>=<span style="color: #ff0000;">&quot;http://axschema.org/namePerson/last&quot;</span> <span style="color: #000066;">required</span>=<span style="color: #ff0000;">&quot;true&quot;</span> <span style="color: #000000; font-weight: bold;">/&gt;</span></span>
 <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;security:openid</span> -attribute <span style="color: #000066;">name</span>=<span style="color: #ff0000;">&quot;language&quot;</span> <span style="color: #000066;">type</span>=<span style="color: #ff0000;">&quot;http://axschema.org/pref/language&quot;</span> <span style="color: #000066;">required</span>=<span style="color: #ff0000;">&quot;true&quot;</span> <span style="color: #000000; font-weight: bold;">/&gt;</span></span>
 <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/security:attribute<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
 <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/security:openid<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
 <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;security:remember</span> -me <span style="color: #000066;">key</span>=<span style="color: #ff0000;">&quot;alessandro-vincelli-openid&quot;</span> <span style="color: #000000; font-weight: bold;">/&gt;</span></span>
<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/security:http<span style="color: #000000; font-weight: bold;">&gt;</span></span></span></pre></div></div>

<p>To be continue&#8230;</p>
<p>DEMO: <a href="http://demo.alessandro.vincelli.name/openid/">http://demo.alessandro.vincelli.name/openid/</a></p>
<p>Source: <a href="http://youeat.googlecode.com/svn/spring-security-open-id">http://youeat.googlecode.com/svn/spring-security-open-id</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.alessandro.vincelli.name/2011/05/11/spring-security-openid-wicket-demo/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>KDE 4.2 Rocks</title>
		<link>http://www.alessandro.vincelli.name/2009/02/21/kde-42-rocks/</link>
		<comments>http://www.alessandro.vincelli.name/2009/02/21/kde-42-rocks/#comments</comments>
		<pubDate>Sat, 21 Feb 2009 22:08:54 +0000</pubDate>
		<dc:creator>Alessandro</dc:creator>
				<category><![CDATA[English]]></category>
		<category><![CDATA[Open Source]]></category>
		<category><![CDATA[kde]]></category>
		<category><![CDATA[kde42]]></category>

		<guid isPermaLink="false">http://www.alessandro.vincelli.name/?p=85</guid>
		<description><![CDATA[KDE 4.2 is really good! I didn&#8217;t like 4.0 and 4.1, too many bugs and low level of usability, but the 4.2 rocks. I installed the 4.2 on Kubuntu 8.10 without problems. You can explore KDE 4.2 also watching some nice Video Guide. Thanks to the KDE communty for this very good product.]]></description>
			<content:encoded><![CDATA[<p>KDE 4.2 is really good!</p>
<p>I didn&#8217;t like 4.0 and 4.1, too many bugs and low level of usability, but the 4.2 rocks.</p>
<p>I installed the 4.2 on Kubuntu 8.10 without problems.</p>
<p>You can explore KDE 4.2 also watching some nice <a title="KDE 4.2 Visual Guide" href="http://www.kde.org/announcements/4.2/desktop.php">Video Guide</a>.</p>
<p>Thanks to the KDE communty for this very good product.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.alessandro.vincelli.name/2009/02/21/kde-42-rocks/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Linux Day Italia 2008</title>
		<link>http://www.alessandro.vincelli.name/2008/10/24/linux-day-italia-2008/</link>
		<comments>http://www.alessandro.vincelli.name/2008/10/24/linux-day-italia-2008/#comments</comments>
		<pubDate>Fri, 24 Oct 2008 12:14:43 +0000</pubDate>
		<dc:creator>Alessandro</dc:creator>
				<category><![CDATA[Italiano]]></category>
		<category><![CDATA[Open Source]]></category>
		<category><![CDATA[segnalazioni]]></category>
		<category><![CDATA[linux]]></category>

		<guid isPermaLink="false">http://www.alessandro.vincelli.name/?p=43</guid>
		<description><![CDATA[Anche se non potro&#8217; esserci per motivi di lavoro. Buon Linux Day a tutti Segnalo inoltre la lettera del Presidente Napolitano che firma il sostegno all&#8217;inizia e al mondo del Software Libero. Personalmente ho gradito molto.]]></description>
			<content:encoded><![CDATA[<p>Anche se non potro&#8217; esserci per motivi di lavoro. Buon <a title="linuxday italia" href="http://www.linuxday.it/">Linux Day </a>a tutti <img src='http://www.alessandro.vincelli.name/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>Segnalo inoltre la <a title="Lettera presidende Giorgio Napolitano di sostegno al Sofware Libero" href="http://www.linuxday.it/docs/lettera_napolitano.jpg">lettera</a> del Presidente Napolitano che firma il sostegno all&#8217;inizia e al mondo del Software Libero. Personalmente ho gradito molto.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.alessandro.vincelli.name/2008/10/24/linux-day-italia-2008/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>My open work</title>
		<link>http://www.alessandro.vincelli.name/2008/08/23/my-open-work/</link>
		<comments>http://www.alessandro.vincelli.name/2008/08/23/my-open-work/#comments</comments>
		<pubDate>Sat, 23 Aug 2008 18:04:53 +0000</pubDate>
		<dc:creator>Alessandro</dc:creator>
				<category><![CDATA[English]]></category>
		<category><![CDATA[Open Source]]></category>
		<category><![CDATA[Cocoon]]></category>

		<guid isPermaLink="false">http://www.alessandro.vincelli.name/?p=34</guid>
		<description><![CDATA[I started a new site: http://devel.alessandro.vincelli.name/ The site is powered by a CMS developed by myself:  DealsCMS. I&#8217;m sharing blocks of code extracted form Deals CMS and other my personal works in this site. Now I&#8217;m focused on Apache Cocoon and related technologies.]]></description>
			<content:encoded><![CDATA[<p>I started a new site:</p>
<p><a title="Open work Alessandro Vincelli" href="http://devel.alessandro.vincelli.name/" target="_blank">http://devel.alessandro.vincelli.name/</a></p>
<p>The site is powered by a CMS developed by myself:  DealsCMS. I&#8217;m sharing blocks of code extracted form Deals CMS and other my personal works in this site. Now I&#8217;m focused on Apache Cocoon and related technologies.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.alessandro.vincelli.name/2008/08/23/my-open-work/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

