<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" media="screen" href="/~d/styles/rss2full.xsl"?><?xml-stylesheet type="text/css" media="screen" href="http://feeds.feedburner.com/~d/styles/itemcontent.css"?><rss xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0" version="2.0">
<channel>
  <title>Stefan Reuter</title>
  <link>http://blogs.reucon.com/srt/</link>
  <description>My personal blog</description>
  <language>en</language>
  <copyright>Stefan Reuter</copyright>
  <lastBuildDate>Mon, 12 Jul 2010 12:14:00 GMT</lastBuildDate>
  <generator>Pebble (http://pebble.sourceforge.net)</generator>
  <docs>http://backend.userland.com/rss</docs>
  
  
  <atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="self" type="application/rss+xml" href="http://feeds.feedburner.com/srt" /><feedburner:info uri="srt" /><atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="hub" href="http://pubsubhubbub.appspot.com/" /><item>
    <title>Spring Framework Security Vulnerability Part 2</title>
    <link>http://feedproxy.google.com/~r/srt/~3/65QYimkxpkw/spring_framework_security_vulnerability_part_2.html</link>
    
      
        <description>&lt;p&gt;
I've already talked about &lt;a href="http://blogs.reucon.com/srt/2010/06/26/spring_framework_security_vulnerability_part_1.html"&gt;CVE-2010-1622&lt;/a&gt; and what SpringSource could have done better when dealing with this security issue.&lt;br/&gt;
Today I want to focus on what you as a developer or system administrator can learn from the bug.
&lt;/p&gt;
&lt;p&gt;&lt;b&gt;What can developers learn from CVE-2010-1622?&lt;/b&gt;&lt;/p&gt;

&lt;p&gt;The exploit requires manipulating the class loader property so that it will download code from an external site. So you can prevent the attack by disallowing modifications of the class loader and by disallowing your application to download and run code from external sites.&lt;/p&gt;

&lt;p&gt;Be explicit! Explicitly allow binding of certain properties. This prevents the exploit from working as there is no valid use case that requires access to the class property. Explicitly whitelisting properties also makes sure users cannot change the id of the object bound to a form or altering data that is managed internally like "date of creation" or "last modified by" properties.&lt;/p&gt;

&lt;p&gt;To prevent code from external sites being downloaded and executed you can make sure your applications behaves well when run with a &lt;a href="http://download.oracle.com/docs/cd/E17409_01/javase/tutorial/security/tour2/index.html"&gt;security manager&lt;/a&gt;. While this is a common concept used for client side code like applets it is far less common for server side applications. Tomcat usually works well with a security manager though it is not enabled by default. Making sure you appplications works with a security manager is also a variant of being explicit: You explicitly grant certain privileges to your code bases and disallow everything else that might be abused by attackers.&lt;/p&gt;

&lt;p&gt;&lt;b&gt;What can system administrators learn from CVE-2010-1622?&lt;/b&gt;&lt;/p&gt;
&lt;p&gt;Your applications should run in a demilitarized zone where they are unable to access the internet or your intranet. If you really need access to external resources use a proxy server and white list the URLs your application needs to contact. Doing so prevents attackers from making your application download external code.&lt;/p&gt;
&lt;p&gt;If your applications are built in a way that they work with a security manager use it! For Tomcat there is a short &lt;a href="http://tomcat.apache.org/tomcat-7.0-doc/security-manager-howto.html"&gt;Howto&lt;/a&gt; available.&lt;/p&gt;&lt;div class="feedflare"&gt;
&lt;a href="http://feeds.feedburner.com/~ff/srt?a=65QYimkxpkw:1_fZVkYJNBg:yIl2AUoC8zA"&gt;&lt;img src="http://feeds.feedburner.com/~ff/srt?d=yIl2AUoC8zA" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/srt?a=65QYimkxpkw:1_fZVkYJNBg:V_sGLiPBpWU"&gt;&lt;img src="http://feeds.feedburner.com/~ff/srt?i=65QYimkxpkw:1_fZVkYJNBg:V_sGLiPBpWU" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/srt?a=65QYimkxpkw:1_fZVkYJNBg:F7zBnMyn0Lo"&gt;&lt;img src="http://feeds.feedburner.com/~ff/srt?i=65QYimkxpkw:1_fZVkYJNBg:F7zBnMyn0Lo" border="0"&gt;&lt;/img&gt;&lt;/a&gt;
&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/srt/~4/65QYimkxpkw" height="1" width="1"/&gt;</description>
      
      
    
    
    
    <comments>http://blogs.reucon.com/srt/2010/07/12/spring_framework_security_vulnerability_part_2.html#comments</comments>
    <guid isPermaLink="false">http://blogs.reucon.com/srt/2010/07/12/spring_framework_security_vulnerability_part_2.html</guid>
    <pubDate>Mon, 12 Jul 2010 12:14:00 GMT</pubDate>
  <feedburner:origLink>http://blogs.reucon.com/srt/2010/07/12/spring_framework_security_vulnerability_part_2.html</feedburner:origLink></item>
  
  <item>
    <title>Spring Framework Security Vulnerability Part 1</title>
    <link>http://feedproxy.google.com/~r/srt/~3/nW0MCSqCTMI/spring_framework_security_vulnerability_part_1.html</link>
    
      
        <description>&lt;p&gt;
&lt;img src="/srt/images/spring09_logo.png" align="right" hspace="5" vspace="5"/&gt;
Spring Source recently published &lt;a href="http://www.springsource.com/security/cve-2010-1622"&gt;CVE-2010-1622&lt;/a&gt;. The advisory describes a vulnerability that affects Spring Framework prior to 3.0.3 and allows attackers to execute arbitrary code.
&lt;/p&gt;
&lt;p&gt;&lt;b&gt;What could SpringSource have done better?&lt;/b&gt;&lt;/p&gt;
&lt;p&gt;
When Spring Source announced the release of 3.0.3 they reported to have fixed &lt;a href="http://blog.springsource.com/2010/06/15/spring-framework-3-0-3-released/"&gt;"more than a hundred minor issues"&lt;/a&gt; &amp;mdash; no indication of the security fix. This could be understandable as they have released the fix 2 days prior to publishing the advisory. I do not understand why they did not announce it later however. The advisory was published as silently as possible although the vulnerability is rated critical, can be exploited remotely and probably affects a large number of applications.&lt;br/&gt;
I would have preferred receiving the security advisory through the usual channels used for announcements in addition to the &lt;a href="http://www.springsource.com/security"&gt;security team page&lt;/a&gt;.
&lt;/p&gt;&lt;p&gt;
Having a look at &lt;a href="http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2010-1622"&gt;cve.mitre.org&lt;/a&gt; reveals another interesting fact. The CVE id was assigned on April, 29th. That is almost 2 months before the advisory was published. The bug was &lt;a href="https://fisheye.springsource.org/changelog/spring-framework?cs=3374"&gt;fixed&lt;/a&gt; on May, 27th.&lt;br/&gt;
Why does it take more than 4 weeks for a 3 line fix? Why does it take almost 3 additional weeks after the fix to announce the vulnerability?&lt;br/&gt;
I would have preferred a priority fix as soon as possible after discovery and a release following short time after that.
&lt;/p&gt;&lt;p&gt;
Finally SpringSource dicided not to provide a fixed release for dm Server, a product based on Spring Framework, which is also vulnerable. Users are advised to manually patch it instead. SpringSource also continues to provide the vulnerable &lt;a href="http://www.springsource.com/products/springsource-download-center"&gt;dm Server 2.0.2&lt;/a&gt; for download without any warning.&lt;br/&gt;
I would have preferred to receive a fixed release of dm Server instead of seeing SpringSource continue to ship products containing known security issues.
&lt;/p&gt;
&lt;p&gt;&lt;b&gt;What can you learn from CVE-2010-1622?&lt;/b&gt;&lt;/p&gt;
&lt;p&gt;
I will follow up with the lessons learned for application developers and system administrators in the next days. Stay tuned.
&lt;/p&gt;&lt;p&gt;
There is also an interesting analysis of the issue at &lt;a href="http://blog.o0o.nu/2010/06/cve-2010-1622.html"&gt;blog.o0o.nu&lt;/a&gt;.
&lt;/p&gt;&lt;div class="feedflare"&gt;
&lt;a href="http://feeds.feedburner.com/~ff/srt?a=nW0MCSqCTMI:KO9HU5vctoE:yIl2AUoC8zA"&gt;&lt;img src="http://feeds.feedburner.com/~ff/srt?d=yIl2AUoC8zA" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/srt?a=nW0MCSqCTMI:KO9HU5vctoE:V_sGLiPBpWU"&gt;&lt;img src="http://feeds.feedburner.com/~ff/srt?i=nW0MCSqCTMI:KO9HU5vctoE:V_sGLiPBpWU" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/srt?a=nW0MCSqCTMI:KO9HU5vctoE:F7zBnMyn0Lo"&gt;&lt;img src="http://feeds.feedburner.com/~ff/srt?i=nW0MCSqCTMI:KO9HU5vctoE:F7zBnMyn0Lo" border="0"&gt;&lt;/img&gt;&lt;/a&gt;
&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/srt/~4/nW0MCSqCTMI" height="1" width="1"/&gt;</description>
      
      
    
    
    
    <comments>http://blogs.reucon.com/srt/2010/06/26/spring_framework_security_vulnerability_part_1.html#comments</comments>
    <guid isPermaLink="false">http://blogs.reucon.com/srt/2010/06/26/spring_framework_security_vulnerability_part_1.html</guid>
    <pubDate>Sat, 26 Jun 2010 09:25:00 GMT</pubDate>
  <feedburner:origLink>http://blogs.reucon.com/srt/2010/06/26/spring_framework_security_vulnerability_part_1.html</feedburner:origLink></item>
  
  <item>
    <title>Code Style: Braces, Indentation and Line Length</title>
    <link>http://feedproxy.google.com/~r/srt/~3/OjCxCUAUzNk/code_style_braces_indentation_and_line_length.html</link>
    
      
        <description>&lt;p&gt;
&lt;a href="http://www.amazon.de/gp/product/0521777682?ie=UTF8&amp;tag=reuconcom-21&amp;linkCode=as2&amp;camp=1638&amp;creative=19454&amp;creativeASIN=0521777682"&gt;&lt;img border="0" hspace="5" src="/srt/images/elements_of_java_style.jpg" align="right"&gt;&lt;/a&gt;
We've recently revisted our Java Coding Conventions. For several years we are now using a style based on the excellent book &lt;a href="http://www.amazon.de/gp/product/0521777682?ie=UTF8&amp;tag=reuconcom-21&amp;linkCode=as2&amp;camp=1638&amp;creative=19454&amp;creativeASIN=0521777682"&gt;The Elements of Java Style&lt;/a&gt; by RougeWave. It follows the &lt;a href="http://java.sun.com/docs/codeconv/html/CodeConvTOC.doc.html"&gt;Sun Code Style&lt;/a&gt; in many aspects and adds a lot of reasoning.
&lt;/p&gt;&lt;p&gt;
Our Code Style differs mainly in two aspects:
&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;We place curly braces on new lines&lt;/li&gt;
&lt;li&gt;We use a maximum line length of 130 characters&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;
I am well aware that there are religious opinions regarding those questions but after reconsidering our style we came to the conclusion that both differences actually make sense.
&lt;/p&gt;&lt;p&gt;
Lining up curly braces vertically (called Allman or ANSI style) makes it easy to check that the braces match. The indented code is clearly set apart from the containing statement by lines that are almost completely whitespace which makes the code easier to read. In contrast to K&amp;amp;R style it consumes more space but today's screens are well capable to show more than the ancient 24 lines.
&lt;/p&gt;
&lt;p&gt;Good:&lt;/p&gt;
&lt;pre class="brush: java;"&gt;
if (condition)
{
    body;
}
&lt;/pre&gt;
&lt;p&gt;Bad:&lt;/p&gt;
&lt;pre class="brush: java;"&gt;
if (condition) {
    body;
}
&lt;/pre&gt;
&lt;p&gt;
The reason to limit the line length to 80 characters comes from the limitation of old printers that usually printed 80 characters per line. We seldomly print code on paper and modern printers are well capable to print at other resolutions. Limiting us to to 80 characters would waste a lot of screen space as with a decent screen size showing 130 characters still leaves enough place for the IDE to show up additional frames including outlines and project files left and right to the code.
&lt;/p&gt;&lt;p&gt;
What we learned: Use the mainstream conventions by default. Challenge them and check if the underlying assumptions hold true in your environment. Only derive if there is enough benefit to justify the change. 
&lt;/p&gt;&lt;div class="feedflare"&gt;
&lt;a href="http://feeds.feedburner.com/~ff/srt?a=OjCxCUAUzNk:bWjVsS7c9gI:yIl2AUoC8zA"&gt;&lt;img src="http://feeds.feedburner.com/~ff/srt?d=yIl2AUoC8zA" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/srt?a=OjCxCUAUzNk:bWjVsS7c9gI:V_sGLiPBpWU"&gt;&lt;img src="http://feeds.feedburner.com/~ff/srt?i=OjCxCUAUzNk:bWjVsS7c9gI:V_sGLiPBpWU" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/srt?a=OjCxCUAUzNk:bWjVsS7c9gI:F7zBnMyn0Lo"&gt;&lt;img src="http://feeds.feedburner.com/~ff/srt?i=OjCxCUAUzNk:bWjVsS7c9gI:F7zBnMyn0Lo" border="0"&gt;&lt;/img&gt;&lt;/a&gt;
&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/srt/~4/OjCxCUAUzNk" height="1" width="1"/&gt;</description>
      
      
    
    
    
    <comments>http://blogs.reucon.com/srt/2010/05/23/code_style_braces_indentation_and_line_length.html#comments</comments>
    <guid isPermaLink="false">http://blogs.reucon.com/srt/2010/05/23/code_style_braces_indentation_and_line_length.html</guid>
    <pubDate>Sun, 23 May 2010 20:26:31 GMT</pubDate>
  <feedburner:origLink>http://blogs.reucon.com/srt/2010/05/23/code_style_braces_indentation_and_line_length.html</feedburner:origLink></item>
  
  <item>
    <title>Java Applications on Privileged Ports</title>
    <link>http://feedproxy.google.com/~r/srt/~3/uiq_XgkXq6s/java_applications_on_privileged_ports.html</link>
    
      
        <description>&lt;p&gt;
I am running most of my Java applications with &lt;a href="http://wrapper.tanukisoftware.org/"&gt;Java Service Wrapper&lt;/a&gt; on Ubuntu. Most of these applications can run on unprivileged ports above 1024, e.g. Tomcats running behind an Apache http reverse proxy or the Openfire XMPP server that uses ports above 1024 by default. However there are exceptions like the LDAP server &lt;a href="http://directory.apache.org/"&gt;ApacheDS&lt;/a&gt; or Tomcats that do not require the features of httpd in front of them.
&lt;/p&gt;&lt;p&gt;
If you want to run Java applications on privileged ports below 1024 there are several options you can choose from:
&lt;ul&gt;
&lt;li&gt;Run the application as root (a very bad idea in terms of security)&lt;/li&gt;
&lt;li&gt;Use &lt;a href="http://www.friedhoff.org/posixfilecaps.html"&gt;POSIX File Capabilities&lt;/a&gt; (doesn't work with Sun JDK due to &lt;a href="http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=6919633"&gt;Bug 6919633&lt;/a&gt;)&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;Use &lt;a href="http://www.netfilter.org/"&gt;iptables&lt;/a&gt; with NAT (works but is clumsy)&lt;/li&gt;
&lt;li&gt;Use &lt;a href="http://en.wikipedia.org/wiki/Authbind"&gt;authbind&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;/p&gt;&lt;p&gt;
To use authbind follow these steps:
&lt;/p&gt;
&lt;p&gt;&lt;b&gt;Step 1: Install and configure authbind&lt;/b&gt;&lt;/p&gt;
&lt;p&gt;Install authbind from the Ubuntu repository:&lt;/p&gt;
&lt;pre class="codeSample"&gt;# aptitude install authbind&lt;/pre&gt;
&lt;p&gt;For each port your application should be able to bind to create a file in &lt;code&gt;/etc/authbind/byport&lt;/code&gt; and make in executable by the user that runs your application. For ApacheDS I did the following:&lt;/p&gt;
&lt;pre class="codeSample"&gt;
# cd /etc/authbind/byport
# touch 389 636
# chown apacheds:apacheds 389 636
# chmod 700 389 636
&lt;/pre&gt;
&lt;p&gt;This results in the following files:&lt;/p&gt;
&lt;pre class="codeSample"&gt;
# ls -l /etc/authbind/byport/
total 0
-rwx------ 1 apacheds apacheds 0 2010-05-04 21:24 389
-rwx------ 1 apacheds apacheds 0 2010-05-04 21:24 636
&lt;/pre&gt;
&lt;p&gt;More information on access control is available in &lt;a href="http://manpages.ubuntu.com/manpages/lucid/man1/authbind.1.html"&gt;authbind (1)&lt;/a&gt;.&lt;p&gt;

&lt;p&gt;&lt;b&gt;Step 2: Update wrapper.conf&lt;/b&gt;&lt;/p&gt;
&lt;p&gt;Authbind works by overloading the bind function in libc. This is done by setting the environment variable &lt;code&gt;LD_PRELOAD&lt;/code&gt;. If you are using Java Service Wrapper the easiest way to do this is to add the following line to your &lt;code&gt;wrapper.conf&lt;/code&gt;:&lt;/p&gt;
&lt;pre class="codeSample"&gt;set.LD_PRELOAD=/usr/lib/authbind/libauthbind.so.1&lt;/pre&gt;
&lt;p&gt;As authbind only supports IPv4 you must prevent your application from binding to the IPv6 port as well. This can be achieved by setting the system property &lt;code&gt;java.net.preferIPv4Stack&lt;/code&gt; in &lt;code&gt;wrapper.conf&lt;/code&gt;:
&lt;pre class="codeSample"&gt;wrapper.java.additional.1=-Djava.net.preferIPv4Stack=true&lt;/pre&gt;
&lt;p&gt;That's it!&lt;/p&gt;
&lt;p&gt;This approach works with any Java application and is not limited to ApacheDS. Have a look at &lt;a href="http://blogs.mulesoft.org/a-better-tomcat-for-ubuntu-and-debian/"&gt;A Better Tomcat for Ubuntu and Debian&lt;/a&gt; by MuleSource to see how they are using authbind without Java Service Wrapper to make Tomcat run on standard HTTP ports.&lt;div class="feedflare"&gt;
&lt;a href="http://feeds.feedburner.com/~ff/srt?a=uiq_XgkXq6s:LfYuFkgML1U:yIl2AUoC8zA"&gt;&lt;img src="http://feeds.feedburner.com/~ff/srt?d=yIl2AUoC8zA" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/srt?a=uiq_XgkXq6s:LfYuFkgML1U:V_sGLiPBpWU"&gt;&lt;img src="http://feeds.feedburner.com/~ff/srt?i=uiq_XgkXq6s:LfYuFkgML1U:V_sGLiPBpWU" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/srt?a=uiq_XgkXq6s:LfYuFkgML1U:F7zBnMyn0Lo"&gt;&lt;img src="http://feeds.feedburner.com/~ff/srt?i=uiq_XgkXq6s:LfYuFkgML1U:F7zBnMyn0Lo" border="0"&gt;&lt;/img&gt;&lt;/a&gt;
&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/srt/~4/uiq_XgkXq6s" height="1" width="1"/&gt;</description>
      
      
    
    
    
    <comments>http://blogs.reucon.com/srt/2010/05/08/java_applications_on_privileged_ports.html#comments</comments>
    <guid isPermaLink="false">http://blogs.reucon.com/srt/2010/05/08/java_applications_on_privileged_ports.html</guid>
    <pubDate>Sat, 08 May 2010 10:44:00 GMT</pubDate>
  <feedburner:origLink>http://blogs.reucon.com/srt/2010/05/08/java_applications_on_privileged_ports.html</feedburner:origLink></item>
  
  <item>
    <title>Book Review: Modular Java</title>
    <link>http://feedproxy.google.com/~r/srt/~3/9X5Vrl-64RE/book_review_modular_java.html</link>
    
      
        <description>&lt;p&gt;
&lt;a href="http://www.amazon.de/gp/product/1934356409?ie=UTF8&amp;tag=reuconcom-21&amp;linkCode=xm2&amp;camp=1638&amp;creativeASIN=1934356409"&gt;&lt;img src="/srt/images/modular_java.gif" vspace="5" hspace="5" align="right"/&gt;&lt;/a&gt;
&lt;a href="http://www.amazon.de/gp/product/1934356409?ie=UTF8&amp;tag=reuconcom-21&amp;linkCode=xm2&amp;camp=1638&amp;creativeASIN=1934356409"&gt;Modular Java&lt;/a&gt; by &lt;a href="http://twitter.com/habuma"&gt;Craig Walls&lt;/a&gt; is a book on building modular Java applications on &lt;a href="http://www.osgi.org/"&gt;OSGi&lt;/a&gt; platforms.
&lt;/p&gt;&lt;p&gt;
Published in the &lt;a href="http://pragprog.com/"&gt;Pragmatic Bookshelf&lt;/a&gt; series it keeps up to the standards of that great series by presenting content that matters in a format that makes you try it out immediately. 
&lt;/p&gt;&lt;p&gt;
OSGi's &lt;a href="http://adaptevolve.blogspot.com/2009/10/osgi-value-proposition-in-recent-blog.html"&gt;value proposition&lt;/a&gt; is to keep complexity in software products manageable. It keeps modules isolated from each other and encourages loose coupling through publishing and consuming services. You can think of OSGi as an incarnation of service oriented archietcure (SOA) within the Java Virtual Machine. OSGi has its roots in the embedded systems environment and became popular for desktop applications with &lt;a href="http://www.eclipse.org"&gt;Eclipse&lt;/a&gt; using it as their core infrastructure. From embedded to desktop OSGi is currently coming to the server side.
&lt;/p&gt;&lt;p&gt;
Craig's book introduces the basics of OSGi, shows how it isolates modules by its unique approach to classpath handling and gives you an overview of the concept of OSGi services. One easy to follow example application is used consistently throughout the book to show the various aspects.&lt;br/&gt;
Most of the time the book uses &lt;a href="http://www.eclipse.org/equinox/"&gt;Equinox&lt;/a&gt; as runtime but &lt;a href="http://felix.apache.org/"&gt;Felix&lt;/a&gt; and &lt;a href="http://www.knopflerfish.org/"&gt;Knopflerfish&lt;/a&gt; are also mentioned. For building bundles Modular Java makes use of &lt;a href="http://wiki.ops4j.org/display/ops4j/Pax"&gt;Pax&lt;/a&gt; especially &lt;a href="http://wiki.ops4j.org/display/paxconstruct/Pax+Construct"&gt;Pax Construct&lt;/a&gt;. It does not mention &lt;a href="http://www.springsource.org/bundlor"&gt;Bundlor&lt;/a&gt;, &lt;a href="http://www.aqute.biz/Code/Bnd"&gt;Bnd&lt;/a&gt; or &lt;a href="http://docs.codehaus.org/display/M2ECLIPSE/Tycho+user+docs"&gt;Tycho&lt;/a&gt; in depth. Especially the &lt;a href="http://maven.apache.org"&gt;Maven&lt;/a&gt; based Tycho stack sounds really promising so it's unfortunate that it isn't covered. I guess however this is just an attribution to the current speed of development in the OSGi tooling space.
&lt;/p&gt;&lt;p&gt;
&lt;a href="http://www.springsource.org/osgi"&gt;Spring Dynamic Modules&lt;/a&gt; are an attempt to bring the principles of Spring Framework to OSGi. In the spirit of Spring Framework Dynamic Modules (DM) build on proven solutions (OSGi in this case) and make them easier to use. They eliminate a lot of boilerplate code that is normally require to handle OSGi services that may appear and disappear at any time. Spring-DM also provides integration with Spring Application Contexts and has support for web applications through an extender. Spring-DM is covered really well by the book. An appendix describes the new OSGi Blueprint Services that are an attempt to standardize the ideas of Spring-DM. Spring's new &lt;a href="http://www.springsource.com/products/dmserver"&gt;dm Server&lt;/a&gt; is not covered.
&lt;/p&gt;&lt;p&gt;
The book focuses on the core concepts and shows the benefits of using OSGi for application development. The target audience are experienced Java developers. It is very well written, easy and fun to read and serves as a great introduction. I recommend the book to Java developers who consider making use of OSGi in future projects.
&lt;/p&gt;&lt;div class="feedflare"&gt;
&lt;a href="http://feeds.feedburner.com/~ff/srt?a=9X5Vrl-64RE:YNuBBzDv0nc:yIl2AUoC8zA"&gt;&lt;img src="http://feeds.feedburner.com/~ff/srt?d=yIl2AUoC8zA" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/srt?a=9X5Vrl-64RE:YNuBBzDv0nc:V_sGLiPBpWU"&gt;&lt;img src="http://feeds.feedburner.com/~ff/srt?i=9X5Vrl-64RE:YNuBBzDv0nc:V_sGLiPBpWU" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/srt?a=9X5Vrl-64RE:YNuBBzDv0nc:F7zBnMyn0Lo"&gt;&lt;img src="http://feeds.feedburner.com/~ff/srt?i=9X5Vrl-64RE:YNuBBzDv0nc:F7zBnMyn0Lo" border="0"&gt;&lt;/img&gt;&lt;/a&gt;
&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/srt/~4/9X5Vrl-64RE" height="1" width="1"/&gt;</description>
      
      
    
    
    
    <comments>http://blogs.reucon.com/srt/2009/11/20/book_review_modular_java.html#comments</comments>
    <guid isPermaLink="false">http://blogs.reucon.com/srt/2009/11/20/book_review_modular_java.html</guid>
    <pubDate>Fri, 20 Nov 2009 02:57:00 GMT</pubDate>
  <feedburner:origLink>http://blogs.reucon.com/srt/2009/11/20/book_review_modular_java.html</feedburner:origLink></item>
  
  <item>
    <title>Code Style: Final Arguments</title>
    <link>http://feedproxy.google.com/~r/srt/~3/Pu_2BXk7gOA/code_style_final_arguments.html</link>
    
      
        <description>&lt;p&gt;Java allows you to make arguments final by declaring them as final in the argument list of the method declaration:&lt;/p&gt;
&lt;pre class="brush: java;"&gt;
public void doSomething(final String foo)
{
  ...
}
&lt;/pre&gt;
&lt;p&gt;This means that inside the method you cannot change what the argument reference points to, i.e. it prevents you from doing things like this:
&lt;/p&gt;
&lt;pre class="brush: java;"&gt;
  foo = "bar";
&lt;/pre&gt;

&lt;p&gt;It is bad style to change the reference an argument points to. You should treat all arguments as if they were marked final. It would have even been a good idea to make this a language feature and have Java treat all arguments as final by default.&lt;/p&gt;
&lt;p&gt;However does this justify to declare all arguments as final? Some people suggest this though I haven't seen this in the wild very often.&lt;/p&gt;
&lt;p&gt;The pros:&lt;/p&gt;
&lt;ul&gt;&lt;li&gt;enforces not changing the reference an argument points to&lt;/li&lt;/ul&gt;
&lt;p&gt;The cons:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;makes method signatures longer and harder to read&lt;/li
&lt;li&gt;takes longer to write, being lazy is a virtue&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;There is one thing to note: Changing the reference the argument points to does not actually change the value of the caller's variable passed to the method:&lt;/p&gt;
&lt;pre class="brush: java;"&gt;
public void testDoSomething()
{
  String foo = "foo";
  doSomething(foo);
  System.out.println(foo); // still prints "foo"
}

public void doSomething(String foo)
{
  foo = "bar";
}
&lt;/pre&gt;
&lt;p&gt;However if you pass an object that is not immutable and you change the state inside the called method you actually do change the caller's data. This is nothing a final modifier can prevent you from doing though it may be a source of trouble if not properly stated in the contract of the method.&lt;/p&gt;
&lt;p&gt;So to sum it up: You should not change the reference an argument points to as it causes confusion. You can prevent this by adding the final modifer. Doing so however clutters your code and thus shouldn't be done (except when needed to use the argument in an inner class). Pay attention to not change the state of an object passed to a method if that's not part of the method's contract.&lt;p&gt;
&lt;p&gt;The same applies to some extend to final local variables. Use them where they make your code easier to understand but not everywhere you could. If you are a fan of final have a look at &lt;a href="http://www.scala-lang.org/"&gt;Scala&lt;/a&gt;'s val keyword.&lt;/p&gt;&lt;div class="feedflare"&gt;
&lt;a href="http://feeds.feedburner.com/~ff/srt?a=Pu_2BXk7gOA:x6cs6KheBzY:yIl2AUoC8zA"&gt;&lt;img src="http://feeds.feedburner.com/~ff/srt?d=yIl2AUoC8zA" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/srt?a=Pu_2BXk7gOA:x6cs6KheBzY:V_sGLiPBpWU"&gt;&lt;img src="http://feeds.feedburner.com/~ff/srt?i=Pu_2BXk7gOA:x6cs6KheBzY:V_sGLiPBpWU" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/srt?a=Pu_2BXk7gOA:x6cs6KheBzY:F7zBnMyn0Lo"&gt;&lt;img src="http://feeds.feedburner.com/~ff/srt?i=Pu_2BXk7gOA:x6cs6KheBzY:F7zBnMyn0Lo" border="0"&gt;&lt;/img&gt;&lt;/a&gt;
&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/srt/~4/Pu_2BXk7gOA" height="1" width="1"/&gt;</description>
      
      
    
    
    
    <comments>http://blogs.reucon.com/srt/2009/09/17/code_style_final_arguments.html#comments</comments>
    <guid isPermaLink="false">http://blogs.reucon.com/srt/2009/09/17/code_style_final_arguments.html</guid>
    <pubDate>Thu, 17 Sep 2009 18:43:00 GMT</pubDate>
  <feedburner:origLink>http://blogs.reucon.com/srt/2009/09/17/code_style_final_arguments.html</feedburner:origLink></item>
  
  <item>
    <title>SSO for RoundCube Webmail with Atlassian Crowd</title>
    <link>http://feedproxy.google.com/~r/srt/~3/RY4OZpKJ1_c/sso_for_roundcube_webmail_with_atlassian_crowd.html</link>
    
      
        <description>&lt;p&gt;
&lt;a href="http://www.atlassian.com/software/crowd/"&gt;Atlassian Crowd&lt;/a&gt; is a single sign-on and identity management tool by &lt;a href="http://www.atlassian.com/"&gt;Atlassian&lt;/a&gt; that integrates well with their suite of software engineering and collaboration tools like JIRA, Confluence and Crucible. It offers a SOAP API that allows integration into arbitrary third-party systems. Integrating a webmail system with Crowd is quite easy. I've choosen &lt;a href="http://roundcube.net/"&gt;RoundCube Webmail&lt;/a&gt; 0.2.2 as an example. RoundCube is based on PHP and has a nice and clean user interface and a well-written code base.
&lt;/p&gt;
&lt;p&gt;&lt;b&gt;Step 1: Basic Integration&lt;/b&gt;&lt;/p&gt;
&lt;p&gt;There is a &lt;a href="http://pear.php.net/package/Services_Atlassian_Crowd/"&gt;PHP integration library&lt;/a&gt; that can be used as a starting point. It provides the methods for SSO but lacks the convenience of Crowd's &lt;a href="http://docs.atlassian.com/crowd/1.6/com/atlassian/crowd/integration/http/HttpAuthenticator.html"&gt;HttpAuthenticator&lt;/a&gt;. Implementing a simple PHP version of the HttpAuthenticator was the first step. My implementation uses &lt;a href="http://pecl.php.net/package/APC"&gt;APC&lt;/a&gt; to store the application token and validates every request with Crowd.&lt;/p&gt;
&lt;p&gt;&lt;b&gt;Step 2: Dovecot Masteruser&lt;/b&gt;&lt;/p&gt;
&lt;p&gt;While the original version of RoundCube uses the user's username and password to connect to the IMAP store that's no longer possible with the crowdified version as it doesn't have access to the user's password. One solution is to use dovecot's &lt;a href="http://wiki.dovecot.org/Authentication/MasterUsers"&gt;masteruser&lt;/a&gt; feature. With that configuration in place RoundCube can access the user's mailbox by using its own password instead of the user's password.&lt;/p&gt;
&lt;p&gt;&lt;b&gt;Step 3: Configuration&lt;/b&gt;&lt;/p&gt;
&lt;p&gt;That's it. Quite simple. If you like you can have a look at my &lt;a href="http://blogs.reucon.com/srt/files/roundcubemail-0.2-crowd.diff"&gt;patch&lt;/a&gt;. Check config/main.inc.php and provide the username and password of your dovecot masteruser as well as the application name, credential and service URL for Crowd.&lt;/a&gt;&lt;div class="feedflare"&gt;
&lt;a href="http://feeds.feedburner.com/~ff/srt?a=RY4OZpKJ1_c:LXhA5VeNAQo:yIl2AUoC8zA"&gt;&lt;img src="http://feeds.feedburner.com/~ff/srt?d=yIl2AUoC8zA" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/srt?a=RY4OZpKJ1_c:LXhA5VeNAQo:V_sGLiPBpWU"&gt;&lt;img src="http://feeds.feedburner.com/~ff/srt?i=RY4OZpKJ1_c:LXhA5VeNAQo:V_sGLiPBpWU" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/srt?a=RY4OZpKJ1_c:LXhA5VeNAQo:F7zBnMyn0Lo"&gt;&lt;img src="http://feeds.feedburner.com/~ff/srt?i=RY4OZpKJ1_c:LXhA5VeNAQo:F7zBnMyn0Lo" border="0"&gt;&lt;/img&gt;&lt;/a&gt;
&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/srt/~4/RY4OZpKJ1_c" height="1" width="1"/&gt;</description>
      
      
    
    
    
    <comments>http://blogs.reucon.com/srt/2009/06/24/sso_for_roundcube_webmail_with_atlassian_crowd.html#comments</comments>
    <guid isPermaLink="false">http://blogs.reucon.com/srt/2009/06/24/sso_for_roundcube_webmail_with_atlassian_crowd.html</guid>
    <pubDate>Wed, 24 Jun 2009 20:23:00 GMT</pubDate>
  <feedburner:origLink>http://blogs.reucon.com/srt/2009/06/24/sso_for_roundcube_webmail_with_atlassian_crowd.html</feedburner:origLink></item>
  
  <item>
    <title>Nexus vs. Artifactory</title>
    <link>http://feedproxy.google.com/~r/srt/~3/FtIGt3gD7k0/nexus_vs_artifactory.html</link>
    
      
        <description>&lt;p&gt;
Until now we didn't use a repository manager for Maven. Our repos were a plain directory structure on the file system served by Apache. Uploading was done using Apache's WebDAV capabilities with a simple authentication against our LDAP directory:
&lt;/p&gt;
&lt;pre class="brush: xml;"&gt;
&amp;lt;Location /maven&amp;gt;
  Options Indexes

  DAV On
  AuthType Basic 
  AuthName "reucon Maven Repositories"
  AuthBasicProvider ldap
  AuthLDAPURL ldap://ldap.myorg.com/o=myorg?uid?sub?(objectClass=person)
  AuthLDAPBindDN uid=httpd,ou=techusers,o=myorg
  AuthLDAPBindPassword secret
  AuthzLDAPAuthoritative off

  Require valid-user
  FileETag None
&amp;lt;/Location&amp;gt;
&lt;/pre&gt;
&lt;p&gt;
We are maintaining four repositories: one for our public Open Source artifacts and one for proprietary internal artifacts along with corresponding snapshot repositories. Access to the internal repository was limited based on an IP address range.
&lt;/p&gt;&lt;p&gt;
There are multiple reasons for us to use a repository manager:
&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;b&gt;Unified access to repositories&lt;/b&gt;
&lt;br/&gt;In the old days all you needed was the central repo (formerly known as ibiblio). Times have changed and now many of our projects require artifacts from a variety of different repositories. It seems many organisations prefer having their own repos instead of publishing to central. This includes SpringSource, JBoss, Codehaus and several snapshot repos like for Apache. Maintaing a list of these repos in each developers settings.xml is a pity and including them in the poms makes things even worse in the long run.&lt;/li&gt;
&lt;li&gt;&lt;b&gt;Finer grained access control&lt;/b&gt;&lt;br/&gt;
On the one hand we need access to our internal repo from outside of our internal network, so IP based access control no longer works well. On the other hand not all developers should be allowed to publish releases. Some kind of role based access control was needed.
&lt;/li&gt;
&lt;li&gt;&lt;b&gt;Automated creation of the Nexus index&lt;/b&gt;&lt;br/&gt;
A Nexus index is basically a zip file containing a lucene index of the artifacts in a repository. Most Maven IDE plugins now support searching for artifacts when adding dependencies to a project. To make this work the IDE must be be able to download an up to date index of the repositories.
&lt;/li&gt;
&lt;li&gt;&lt;b&gt;Web based artifact search&lt;/b&gt;&lt;br/&gt;
You may know &lt;a href="http://mvnrepository.com"&gt;mvnrepository.com&lt;/a&gt; a web site to search for artifacts in the central repo. I've often used it to find the correct version and maven coordinates for a dependency. A similar solution for our internal repositories would be nice.
&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;
There are a lot &lt;a href="http://maven.apache.org/repository-management.html"&gt;more reasons&lt;/a&gt; to use a repository manager like faster builds through caching of artifacts, black- or whitelisting of artifacts based on corporate standards but those listed above were the key factors for us.
&lt;/p&gt;&lt;p&gt;
There are three products that can be used: &lt;a href="http://archiva.apache.org/"&gt;Apache Archiva&lt;/a&gt;, &lt;a href="http://nexus.sonatype.org/"&gt;Sonatype Nexus&lt;/a&gt; and &lt;a href="http://www.jfrog.org/products.php"&gt;JFrog's Artifactory&lt;/a&gt;. There is a &lt;a href="http://docs.codehaus.org/x/FAAPBg"&gt;feature matrix&lt;/a&gt;
that shows their features.
&lt;/p&gt;&lt;p&gt;
I dropped Archiva because its development is rather slow and it is missing some important features like grouped repositories. So Nexus and Artifactory remained. I came across two blog postings from January: 
&lt;a href="http://www.sonatype.com/people/2009/01/contrasting-nexus-and-artifactory/"&gt;Sonatype's comparison&lt;/a&gt; and
&lt;a href="http://blogs.jfrog.org/2009/01/contrasting-artifactory-and-nexus.html"&gt;JFrog's response&lt;/a&gt;. Combined they provide a lot of insight. Here is my own comparison:
&lt;/p&gt;
&lt;p&gt;&lt;b&gt;Security&lt;/b&gt;&lt;/p&gt;
&lt;p&gt;
Good LDAP integration is a must have. Artifactory supports this out of the box, Nexus does not include LDAP support in its Open Source edition. It is a Nexus Pro feature. I do understand that Sonatype is trying to sell its Pro version but LDAP support is really a basic and vital feature. Fortunately it is not too difficult to implement a custom authenticator for Nexus and in fact there is already a project at Google Code called &lt;a href="http://code.google.com/p/nexus-ldap/"&gt;nexus-ldap&lt;/a&gt; that adds free LDAP support to Nexus. Both Artifactory and Nexus support fine grained role based authorization. One problem I faced with Artifactory was that requiring authentication seems to be a global setting, so you either require authentication for all repositories or for none. This is less flexible than Nexus which allows us to make our Open Source repository available without authentication and requires authentication only for deployment and for our internal repositories.&lt;br/&gt;
Artifactory has a nice additional feature that eliminates the need to store the user's password in Maven's settingx.xml in clear text by encrypting the password with a user specific key stored in Artifactory. This is an interesting approach and I would like to see this concept being used more widely (e.g. for Subversion).
&lt;/p&gt;
&lt;p&gt;&lt;b&gt;Storage&lt;/b&gt;&lt;/p&gt;
&lt;p&gt;
How the repository manager stores artifacts and meta data is the biggest difference between Artifactory and Nexus. Artifactory uses a Java Content Repository (JCR) that can optionally be hosted in a MySQL database.&lt;br/&gt;
Nexus stores artifacts and meta data in the file system. It uses the maven layout so it is easy to access the repositories managed by Nexus externally. This becomes handy not only for migration but also when synchronizing to central through rsync. Though Artifactory offers an export feature having my repository data available directly on the file system makes me feel better.
&lt;/p&gt;
&lt;p&gt;&lt;b&gt;Searching and Indexing&lt;/b&gt;&lt;/p&gt;
&lt;p&gt;
Both Nexus and Artifactory publish indexes (based on Lucene) and provide a web interface for searching artifacts stored in the repository. Nexus takes this one step futher and also allows searching for artifacts in proxied repositoreis not yet stores in the local repository. This is really handy and eliminates the need to use external sites to search for artifacts and they current version.
&lt;/p&gt;
&lt;p&gt;&lt;b&gt;Conclusion&lt;/b&gt;&lt;/p&gt;
&lt;p&gt;Before I found nexus-ldap I was about to choose Artifactory over Nexus. After that I prefer Nexus for the file system based storage and better searching.&lt;/p&gt;

&lt;p&gt;&lt;b&gt;References&lt;/b&gt;&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;a href="http://nexus.sonatype.org/"&gt;Sonatype Nexus&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="http://www.jfrog.org/products.php"&gt;JFrog Artifactory&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="http://code.google.com/p/nexus-ldap/"&gt;nexus-ldap&lt;/a&gt;: Free LDAP authentication for Nexus&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="http://confluence.atlassian.com/display/CROWDEXT/Nexus+Crowd+Plugin"&gt;Nexus Crowd Plugin&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;&lt;div class="feedflare"&gt;
&lt;a href="http://feeds.feedburner.com/~ff/srt?a=FtIGt3gD7k0:ORePAWg2TEY:yIl2AUoC8zA"&gt;&lt;img src="http://feeds.feedburner.com/~ff/srt?d=yIl2AUoC8zA" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/srt?a=FtIGt3gD7k0:ORePAWg2TEY:V_sGLiPBpWU"&gt;&lt;img src="http://feeds.feedburner.com/~ff/srt?i=FtIGt3gD7k0:ORePAWg2TEY:V_sGLiPBpWU" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/srt?a=FtIGt3gD7k0:ORePAWg2TEY:F7zBnMyn0Lo"&gt;&lt;img src="http://feeds.feedburner.com/~ff/srt?i=FtIGt3gD7k0:ORePAWg2TEY:F7zBnMyn0Lo" border="0"&gt;&lt;/img&gt;&lt;/a&gt;
&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/srt/~4/FtIGt3gD7k0" height="1" width="1"/&gt;</description>
      
      
    
    
    
    <comments>http://blogs.reucon.com/srt/2009/06/16/nexus_vs_artifactory.html#comments</comments>
    <guid isPermaLink="false">http://blogs.reucon.com/srt/2009/06/16/nexus_vs_artifactory.html</guid>
    <pubDate>Mon, 15 Jun 2009 23:23:48 GMT</pubDate>
  <feedburner:origLink>http://blogs.reucon.com/srt/2009/06/16/nexus_vs_artifactory.html</feedburner:origLink></item>
  
  <item>
    <title>Maven Release with Subversion 1.5 and 1.6</title>
    <link>http://feedproxy.google.com/~r/srt/~3/llPI0La2K4Y/maven_release_with_subversion_1_5_and_1_6.html</link>
    
      
        <description>&lt;p&gt;
&lt;img src="/srt/images/maven.gif" hspace="5" vspace="5" align="right"/&gt;
There is a problem with the maven-release-plugin when used with recent versions of Subversion. It stared at version 1.5.1 of Subversion and made the release:prepare command fail because Maven was no longer able to tag the release.&lt;/p&gt;
&lt;p&gt;You may have encountered the following error with release:prepare:&lt;/p&gt;
&lt;pre class="brush: plain;"&gt;
svn: File '...' already exists
&lt;/pre&gt;
&lt;p&gt;One reason for this can be &lt;a href="http://jira.codehaus.org/browse/SCM-406"&gt;SCM-406&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;For some time I've worked around this issue by doing my releases on a machine with an older version of Subversion.&lt;/p&gt;
&lt;p&gt;A better solution is to use the latest version of the maven-release-plugin (2.0-beta-9 at the moment) and set the remoteTagging property to true:&lt;/p&gt;
&lt;pre class="brush: xml;"&gt;
&amp;lt;build&amp;gt;
  &amp;lt;plugins&amp;gt;
    &amp;lt;plugin&amp;gt;      
      &amp;lt;artifactId&amp;gt;maven-release-plugin&amp;lt;/artifactId&amp;gt;
      &amp;lt;version&amp;gt;2.0-beta-9&amp;lt;/version&amp;gt;
      &amp;lt;configuration&amp;gt;     
        &amp;lt;remoteTagging&amp;gt;true&amp;lt;/remoteTagging&amp;gt;
        &amp;lt;preparationGoals&amp;gt;clean install&amp;lt;/preparationGoals&amp;gt;
        &amp;lt;autoVersionSubmodules&amp;gt;true&amp;lt;/autoVersionSubmodules&amp;gt;
        &amp;lt;tagBase&amp;gt;...&amp;lt;/tagBase&amp;gt;
      &amp;lt;/configuration&amp;gt;
    &amp;lt;/plugin&amp;gt;     
  &amp;lt;/plugins&amp;gt;
&amp;lt;/build&amp;gt;
&lt;/pre&gt;
&lt;p&gt;Keep in mind that you should always specify the exact version of the plugins you are using. This not only makes sure you get what you need it also ensures that the build is reproducible in the future and works consistently accross different machines.&lt;/p&gt;&lt;div class="feedflare"&gt;
&lt;a href="http://feeds.feedburner.com/~ff/srt?a=llPI0La2K4Y:YsW0lNvrIl0:yIl2AUoC8zA"&gt;&lt;img src="http://feeds.feedburner.com/~ff/srt?d=yIl2AUoC8zA" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/srt?a=llPI0La2K4Y:YsW0lNvrIl0:V_sGLiPBpWU"&gt;&lt;img src="http://feeds.feedburner.com/~ff/srt?i=llPI0La2K4Y:YsW0lNvrIl0:V_sGLiPBpWU" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/srt?a=llPI0La2K4Y:YsW0lNvrIl0:F7zBnMyn0Lo"&gt;&lt;img src="http://feeds.feedburner.com/~ff/srt?i=llPI0La2K4Y:YsW0lNvrIl0:F7zBnMyn0Lo" border="0"&gt;&lt;/img&gt;&lt;/a&gt;
&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/srt/~4/llPI0La2K4Y" height="1" width="1"/&gt;</description>
      
      
    
    
    
    <comments>http://blogs.reucon.com/srt/2009/05/30/maven_release_with_subversion_1_5_and_1_6.html#comments</comments>
    <guid isPermaLink="false">http://blogs.reucon.com/srt/2009/05/30/maven_release_with_subversion_1_5_and_1_6.html</guid>
    <pubDate>Sat, 30 May 2009 13:58:00 GMT</pubDate>
  <feedburner:origLink>http://blogs.reucon.com/srt/2009/05/30/maven_release_with_subversion_1_5_and_1_6.html</feedburner:origLink></item>
  
  <item>
    <title>Security Issues Caused By External Hosting</title>
    <link>http://feedproxy.google.com/~r/srt/~3/Jj39MUZblsw/security_issues_caused_by_external_hosting.html</link>
    
      
        <description>&lt;p&gt;
Thomas has a nice example of how &lt;a href="http://everflux.de/lufthansa-datenleck-1152/"&gt;Deutsche Lufthansa has leaked personal data through an entertainment site&lt;/a&gt; operated by an external agency.
&lt;/p&gt;&lt;p&gt;
Most companies have strict rules for handling personal data and installed security policies for secure handling of sensitive information. Therefore enterprise data centers are usually quite secure. However the corporate processes that are required to keep the standards high are slow and expensive. This causes some companies to skip them in favor of faster and cheaper alternatives.
&lt;/p&gt;&lt;p&gt;
One solution is to accept hosting offers by the agencies that build the sites. The problem is that they are seldomly capable of providing a secure environment. It's just not their business. The result is that sites with sensitive data are operated in shared hosting environments by unskilled persons out of control of corporate IT. It's only a matter of time until security issues pop up and companies can be glad if they are informed before any data is stolen.
&lt;/p&gt;&lt;p&gt;
It just doesn't make sense to harden the front door if you open up a few back doors at the same time. The best security policies are worthless if companies are willing to bypass them for faster and cheaper alternatives. Maybe Thomas' &lt;a href="http://everflux.de/lufthansa-datenleck-1152/"&gt;story&lt;/a&gt; will help showing the value of corporate IT to those seeking alternatives without looking at the consequences.
&lt;/p&gt;&lt;div class="feedflare"&gt;
&lt;a href="http://feeds.feedburner.com/~ff/srt?a=Jj39MUZblsw:5-JFcr8gad0:yIl2AUoC8zA"&gt;&lt;img src="http://feeds.feedburner.com/~ff/srt?d=yIl2AUoC8zA" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/srt?a=Jj39MUZblsw:5-JFcr8gad0:V_sGLiPBpWU"&gt;&lt;img src="http://feeds.feedburner.com/~ff/srt?i=Jj39MUZblsw:5-JFcr8gad0:V_sGLiPBpWU" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/srt?a=Jj39MUZblsw:5-JFcr8gad0:F7zBnMyn0Lo"&gt;&lt;img src="http://feeds.feedburner.com/~ff/srt?i=Jj39MUZblsw:5-JFcr8gad0:F7zBnMyn0Lo" border="0"&gt;&lt;/img&gt;&lt;/a&gt;
&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/srt/~4/Jj39MUZblsw" height="1" width="1"/&gt;</description>
      
      
    
    
    
    <comments>http://blogs.reucon.com/srt/2009/05/26/security_issues_caused_by_external_hosting.html#comments</comments>
    <guid isPermaLink="false">http://blogs.reucon.com/srt/2009/05/26/security_issues_caused_by_external_hosting.html</guid>
    <pubDate>Tue, 26 May 2009 11:27:00 GMT</pubDate>
  <feedburner:origLink>http://blogs.reucon.com/srt/2009/05/26/security_issues_caused_by_external_hosting.html</feedburner:origLink></item>
  
  </channel>
</rss>
