<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	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/"
		>
<channel>
	<title>Comments on: Executable .war with winstone-maven-plugin</title>
	<atom:link href="http://blog.jayway.com/2008/11/28/executable-war-with-winstone-maven-plugin/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.jayway.com/2008/11/28/executable-war-with-winstone-maven-plugin/</link>
	<description>Sharing Experience</description>
	<lastBuildDate>Wed, 08 Sep 2010 17:09:48 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
	<item>
		<title>By: Ken Chau</title>
		<link>http://blog.jayway.com/2008/11/28/executable-war-with-winstone-maven-plugin/comment-page-1/#comment-48941</link>
		<dc:creator>Ken Chau</dc:creator>
		<pubDate>Fri, 23 Jul 2010 20:19:35 +0000</pubDate>
		<guid isPermaLink="false">http://blog.jayway.com/?p=484#comment-48941</guid>
		<description>How do you specify the useJasper and the commonLibFolder and the subsequent Jasper jars within Maven for this plugin??</description>
		<content:encoded><![CDATA[<p>How do you specify the useJasper and the commonLibFolder and the subsequent Jasper jars within Maven for this plugin??</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Hugo Josefson</title>
		<link>http://blog.jayway.com/2008/11/28/executable-war-with-winstone-maven-plugin/comment-page-1/#comment-12862</link>
		<dc:creator>Hugo Josefson</dc:creator>
		<pubDate>Sun, 27 Sep 2009 21:03:24 +0000</pubDate>
		<guid isPermaLink="false">http://blog.jayway.com/?p=484#comment-12862</guid>
		<description>Hi David,

Thanks for asking.

I don&#039;t particularly like the standard Java Webapp way of configuring security. It forces you to configure things in your web server (for example in Tomcat with a tomcat-users.xml). It is also not portable, so you have to configure different web servers differently. For example, you can&#039;t use the tomcat-users.xml in Winstone. In Winstone, the equivalence of a tomcat-users.xml are the &quot;Security options&quot;, which are documented here:
http://winstone.sourceforge.net/ (search the page for &quot;Security options&quot;)

What I have found is more powerful and easier is to use, is Spring Security. When using that, everything can be configured inside the webapp and nothing has to be configured manually afterwards, in the web server. The war can also be dropped into any web server without modification.

I have used it with war&#039;s in Winstone too. Works great.

Here&#039;s an example to get you going:
http://www.springbyexample.org/examples/simple-spring-security-webapp.html

And here&#039;s the official website for Spring Security:
http://static.springsource.org/spring-security/site/

/Hugo</description>
		<content:encoded><![CDATA[<p>Hi David,</p>
<p>Thanks for asking.</p>
<p>I don&#8217;t particularly like the standard Java Webapp way of configuring security. It forces you to configure things in your web server (for example in Tomcat with a tomcat-users.xml). It is also not portable, so you have to configure different web servers differently. For example, you can&#8217;t use the tomcat-users.xml in Winstone. In Winstone, the equivalence of a tomcat-users.xml are the &#8220;Security options&#8221;, which are documented here:<br />
<a href="http://winstone.sourceforge.net/" rel="nofollow">http://winstone.sourceforge.net/</a> (search the page for &#8220;Security options&#8221;)</p>
<p>What I have found is more powerful and easier is to use, is Spring Security. When using that, everything can be configured inside the webapp and nothing has to be configured manually afterwards, in the web server. The war can also be dropped into any web server without modification.</p>
<p>I have used it with war&#8217;s in Winstone too. Works great.</p>
<p>Here&#8217;s an example to get you going:<br />
<a href="http://www.springbyexample.org/examples/simple-spring-security-webapp.html" rel="nofollow">http://www.springbyexample.org/examples/simple-spring-security-webapp.html</a></p>
<p>And here&#8217;s the official website for Spring Security:<br />
<a href="http://static.springsource.org/spring-security/site/" rel="nofollow">http://static.springsource.org/spring-security/site/</a></p>
<p>/Hugo</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: David Johnson</title>
		<link>http://blog.jayway.com/2008/11/28/executable-war-with-winstone-maven-plugin/comment-page-1/#comment-12716</link>
		<dc:creator>David Johnson</dc:creator>
		<pubDate>Wed, 23 Sep 2009 15:17:01 +0000</pubDate>
		<guid isPermaLink="false">http://blog.jayway.com/?p=484#comment-12716</guid>
		<description>Any idea how to implement HTTP authentication with this technique? Where in the maven webapp project do I put the tomcat-users.xml file?</description>
		<content:encoded><![CDATA[<p>Any idea how to implement HTTP authentication with this technique? Where in the maven webapp project do I put the tomcat-users.xml file?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Hugo Josefson</title>
		<link>http://blog.jayway.com/2008/11/28/executable-war-with-winstone-maven-plugin/comment-page-1/#comment-2025</link>
		<dc:creator>Hugo Josefson</dc:creator>
		<pubDate>Sat, 14 Mar 2009 16:32:09 +0000</pubDate>
		<guid isPermaLink="false">http://blog.jayway.com/?p=484#comment-2025</guid>
		<description>Thanks for your feedback! You may also be interested in my latest post about onejar-maven-plugin:

http://blog.jayway.com/2009/03/14/executable-jar-with-onejar-maven-plugin/

It&#039;s for Maven projects which need to be built as an executable .jar file. Onejar-maven-plugin collects all dependency jars inside one big executable jar, and makes your application really easy to run. It also works better and simpler than maven-assembly-plugin.

/Hugo</description>
		<content:encoded><![CDATA[<p>Thanks for your feedback! You may also be interested in my latest post about onejar-maven-plugin:</p>
<p><a href="http://blog.jayway.com/2009/03/14/executable-jar-with-onejar-maven-plugin/" rel="nofollow">http://blog.jayway.com/2009/03/14/executable-jar-with-onejar-maven-plugin/</a></p>
<p>It&#8217;s for Maven projects which need to be built as an executable .jar file. Onejar-maven-plugin collects all dependency jars inside one big executable jar, and makes your application really easy to run. It also works better and simpler than maven-assembly-plugin.</p>
<p>/Hugo</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Rick Knowles</title>
		<link>http://blog.jayway.com/2008/11/28/executable-war-with-winstone-maven-plugin/comment-page-1/#comment-2013</link>
		<dc:creator>Rick Knowles</dc:creator>
		<pubDate>Sat, 14 Mar 2009 06:45:53 +0000</pubDate>
		<guid isPermaLink="false">http://blog.jayway.com/?p=484#comment-2013</guid>
		<description>Hi.

This is a neat use of maven for packaging into the winstone embedded function. A winstone user at one of my clients was asking about a maven plugin the other day, so I&#039;ve forwarded this onto him. I don&#039;t use maven 2 much myself (preferring Ant for speed), but plenty of people do, so your help in extending Winstone is appreciated.

Thanks,

Rick</description>
		<content:encoded><![CDATA[<p>Hi.</p>
<p>This is a neat use of maven for packaging into the winstone embedded function. A winstone user at one of my clients was asking about a maven plugin the other day, so I&#8217;ve forwarded this onto him. I don&#8217;t use maven 2 much myself (preferring Ant for speed), but plenty of people do, so your help in extending Winstone is appreciated.</p>
<p>Thanks,</p>
<p>Rick</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Hegelund</title>
		<link>http://blog.jayway.com/2008/11/28/executable-war-with-winstone-maven-plugin/comment-page-1/#comment-84</link>
		<dc:creator>Hegelund</dc:creator>
		<pubDate>Wed, 07 Jan 2009 07:34:59 +0000</pubDate>
		<guid isPermaLink="false">http://blog.jayway.com/?p=484#comment-84</guid>
		<description>That little peace of information just saved my day! Really neat and handy.</description>
		<content:encoded><![CDATA[<p>That little peace of information just saved my day! Really neat and handy.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Thomas Joseph</title>
		<link>http://blog.jayway.com/2008/11/28/executable-war-with-winstone-maven-plugin/comment-page-1/#comment-27</link>
		<dc:creator>Thomas Joseph</dc:creator>
		<pubDate>Tue, 02 Dec 2008 12:52:16 +0000</pubDate>
		<guid isPermaLink="false">http://blog.jayway.com/?p=484#comment-27</guid>
		<description>Really Cool!
... BTW, this was my first visit to this site/blog as such...</description>
		<content:encoded><![CDATA[<p>Really Cool!<br />
&#8230; BTW, this was my first visit to this site/blog as such&#8230;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Cédric Vidal</title>
		<link>http://blog.jayway.com/2008/11/28/executable-war-with-winstone-maven-plugin/comment-page-1/#comment-26</link>
		<dc:creator>Cédric Vidal</dc:creator>
		<pubDate>Tue, 02 Dec 2008 12:14:58 +0000</pubDate>
		<guid isPermaLink="false">http://blog.jayway.com/?p=484#comment-26</guid>
		<description>Really handy that plugin !! Thanx for the tip.</description>
		<content:encoded><![CDATA[<p>Really handy that plugin !! Thanx for the tip.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
