<?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: Spring Finance &gt; Part 6: Spring Security 3.0 Integration</title>
	<atom:link href="http://stsmedia.net/spring-finance-part-6-spring-security-3-integration/feed/" rel="self" type="application/rss+xml" />
	<link>http://stsmedia.net/spring-finance-part-6-spring-security-3-integration/</link>
	<description>Programming, Photography, Life</description>
	<lastBuildDate>Sat, 24 Jul 2010 14:20:18 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
	<item>
		<title>By: Jon Hill</title>
		<link>http://stsmedia.net/spring-finance-part-6-spring-security-3-integration/comment-page-1/#comment-120</link>
		<dc:creator>Jon Hill</dc:creator>
		<pubDate>Tue, 20 Oct 2009 09:33:30 +0000</pubDate>
		<guid isPermaLink="false">http://stsmedia.net/?p=313#comment-120</guid>
		<description>Hi Stefan

I&#039;ve played around with @PostConstruct in my application and found it not really suitable for use within a @Transaction annotated method. There seems to be no guarantee that the required initialisation will have finished (see http://forum.springsource.org/showthread.php?t=58337)

I did get it to work if I followed your example of annotating the interfaces of dao methods and using an aop proxy instead of aspectj, but I have now opted for a @PostInitialize routine instead.

Jon</description>
		<content:encoded><![CDATA[<p>Hi Stefan</p>
<p>I&#8217;ve played around with @PostConstruct in my application and found it not really suitable for use within a @Transaction annotated method. There seems to be no guarantee that the required initialisation will have finished (see <a href="http://forum.springsource.org/showthread.php?t=58337)" rel="nofollow">http://forum.springsource.org/showthread.php?t=58337)</a></p>
<p>I did get it to work if I followed your example of annotating the interfaces of dao methods and using an aop proxy instead of aspectj, but I have now opted for a @PostInitialize routine instead.</p>
<p>Jon</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Stefan Schmidt</title>
		<link>http://stsmedia.net/spring-finance-part-6-spring-security-3-integration/comment-page-1/#comment-104</link>
		<dc:creator>Stefan Schmidt</dc:creator>
		<pubDate>Sun, 23 Aug 2009 08:06:48 +0000</pubDate>
		<guid isPermaLink="false">http://stsmedia.net/?p=313#comment-104</guid>
		<description>@Nima,

As you point out correctly, the @PostFilter is not always the best choice for your application. Spring Security offers the @PreFilter annotation (http://bit.ly/18Ta9p) but I have not tested it and I am not sure if that is the best solution for your problem. It would probably be best if you have a finder method in your repository which pulls only the records you really need.

-Stefan</description>
		<content:encoded><![CDATA[<p>@Nima,</p>
<p>As you point out correctly, the @PostFilter is not always the best choice for your application. Spring Security offers the @PreFilter annotation (<a href="http://bit.ly/18Ta9p" rel="nofollow">http://bit.ly/18Ta9p</a>) but I have not tested it and I am not sure if that is the best solution for your problem. It would probably be best if you have a finder method in your repository which pulls only the records you really need.</p>
<p>-Stefan</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Stefan Schmidt</title>
		<link>http://stsmedia.net/spring-finance-part-6-spring-security-3-integration/comment-page-1/#comment-103</link>
		<dc:creator>Stefan Schmidt</dc:creator>
		<pubDate>Sun, 23 Aug 2009 08:03:09 +0000</pubDate>
		<guid isPermaLink="false">http://stsmedia.net/?p=313#comment-103</guid>
		<description>Dennis,

If you have dependencies missing that means that maven was unable to download them all as defined in the pom.xml. I am not sure what went wrong, but it may be that one of the repositories was temporarily not available. I have just released version 0.5 of the Spring Finance Manager application. Please try this one as I have made some changes to the repository list.

The FinanceManager-servlet.xml has been moved and renamed to src/main/webapp/WEB-INF/config/FinanceManager-mvc.xml

HTH

-Stefan</description>
		<content:encoded><![CDATA[<p>Dennis,</p>
<p>If you have dependencies missing that means that maven was unable to download them all as defined in the pom.xml. I am not sure what went wrong, but it may be that one of the repositories was temporarily not available. I have just released version 0.5 of the Spring Finance Manager application. Please try this one as I have made some changes to the repository list.</p>
<p>The FinanceManager-servlet.xml has been moved and renamed to src/main/webapp/WEB-INF/config/FinanceManager-mvc.xml</p>
<p>HTH</p>
<p>-Stefan</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Dennis Laping</title>
		<link>http://stsmedia.net/spring-finance-part-6-spring-security-3-integration/comment-page-1/#comment-102</link>
		<dc:creator>Dennis Laping</dc:creator>
		<pubDate>Sat, 22 Aug 2009 02:53:03 +0000</pubDate>
		<guid isPermaLink="false">http://stsmedia.net/?p=313#comment-102</guid>
		<description>Stefan,

First of all, it&#039;s a very nice article. I have problem though.
When I did &quot;mvn install&quot;, it downloaded a lot of files but it said some artifacts are missing.

9 required artifacts are missing.
for artifact:
  net.stsmedia.financemanager:FinanceManager:war:0.4
(from all the repositories specified in the pom.xml)

And also, where can I find the FinanceManager-servlet.xml?

Thanks and regards,
Dennis</description>
		<content:encoded><![CDATA[<p>Stefan,</p>
<p>First of all, it&#8217;s a very nice article. I have problem though.<br />
When I did &#8220;mvn install&#8221;, it downloaded a lot of files but it said some artifacts are missing.</p>
<p>9 required artifacts are missing.<br />
for artifact:<br />
  net.stsmedia.financemanager:FinanceManager:war:0.4<br />
(from all the repositories specified in the pom.xml)</p>
<p>And also, where can I find the FinanceManager-servlet.xml?</p>
<p>Thanks and regards,<br />
Dennis</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Nima</title>
		<link>http://stsmedia.net/spring-finance-part-6-spring-security-3-integration/comment-page-1/#comment-101</link>
		<dc:creator>Nima</dc:creator>
		<pubDate>Fri, 21 Aug 2009 15:31:10 +0000</pubDate>
		<guid isPermaLink="false">http://stsmedia.net/?p=313#comment-101</guid>
		<description>You wrote: 

&quot;The filter seen on the findAll() ... This filter is applied after (post) the collection is returned from the repository and then the collection is reduced as per constraint expressed in the expression.&quot;

Is there an alternative for large sites - some kind of prefilter? Returning extremely large collections where only few elements are relevant will waste too many resources.</description>
		<content:encoded><![CDATA[<p>You wrote: </p>
<p>&#8220;The filter seen on the findAll() &#8230; This filter is applied after (post) the collection is returned from the repository and then the collection is reduced as per constraint expressed in the expression.&#8221;</p>
<p>Is there an alternative for large sites &#8211; some kind of prefilter? Returning extremely large collections where only few elements are relevant will waste too many resources.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Stefan Schmidt</title>
		<link>http://stsmedia.net/spring-finance-part-6-spring-security-3-integration/comment-page-1/#comment-98</link>
		<dc:creator>Stefan Schmidt</dc:creator>
		<pubDate>Sun, 16 Aug 2009 05:36:26 +0000</pubDate>
		<guid isPermaLink="false">http://stsmedia.net/?p=313#comment-98</guid>
		<description>Ah yes, the maven repository location has changed in the meantime. Please edit your pom file and replace the current milestone repository URL with the following: &lt; url &gt;http://maven.springframework.org/milestone&lt; /url &gt; This should do the trick.

-Stefan</description>
		<content:encoded><![CDATA[<p>Ah yes, the maven repository location has changed in the meantime. Please edit your pom file and replace the current milestone repository URL with the following: < url ><a href="http://maven.springframework.org/milestone" rel="nofollow">http://maven.springframework.org/milestone</a>< /url > This should do the trick.</p>
<p>-Stefan</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Stefan Schmidt</title>
		<link>http://stsmedia.net/spring-finance-part-6-spring-security-3-integration/comment-page-1/#comment-97</link>
		<dc:creator>Stefan Schmidt</dc:creator>
		<pubDate>Sun, 16 Aug 2009 05:34:21 +0000</pubDate>
		<guid isPermaLink="false">http://stsmedia.net/?p=313#comment-97</guid>
		<description>@Srini,

The latest version of the Spring FinanceManager application already uses Spring framework 3.0.0.M3 and Spring Security 3.0.0.M1. I am currently waiting for a new milestone release of Spring Security which aligns with Spring 3.0.0.M4 as they are currently incompatible. As soon as it comes out and I find some time to test I will update the dependencies accordingly.

HTH
-Stefan</description>
		<content:encoded><![CDATA[<p>@Srini,</p>
<p>The latest version of the Spring FinanceManager application already uses Spring framework 3.0.0.M3 and Spring Security 3.0.0.M1. I am currently waiting for a new milestone release of Spring Security which aligns with Spring 3.0.0.M4 as they are currently incompatible. As soon as it comes out and I find some time to test I will update the dependencies accordingly.</p>
<p>HTH<br />
-Stefan</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Srini</title>
		<link>http://stsmedia.net/spring-finance-part-6-spring-security-3-integration/comment-page-1/#comment-96</link>
		<dc:creator>Srini</dc:creator>
		<pubDate>Sat, 15 Aug 2009 05:30:15 +0000</pubDate>
		<guid isPermaLink="false">http://stsmedia.net/?p=313#comment-96</guid>
		<description>It has been a while since you released a version (along with Spring 3.0 M1).

We already have Spring 3.0 M4.

When can we expect the next releases?</description>
		<content:encoded><![CDATA[<p>It has been a while since you released a version (along with Spring 3.0 M1).</p>
<p>We already have Spring 3.0 M4.</p>
<p>When can we expect the next releases?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: vennela</title>
		<link>http://stsmedia.net/spring-finance-part-6-spring-security-3-integration/comment-page-1/#comment-93</link>
		<dc:creator>vennela</dc:creator>
		<pubDate>Tue, 11 Aug 2009 19:56:05 +0000</pubDate>
		<guid isPermaLink="false">http://stsmedia.net/?p=313#comment-93</guid>
		<description>Hi,
When i am trying to install, not able to install spring security 3.0 M1. Getting following error.

Missing:
----------
1) org.springframework.security:spring-security-core:jar:3.0.0.M1

  Try downloading the file manually from the project website.

  Then, install it using the command:
      mvn install:install-file -DgroupId=org.springframework.security -Dartifact
Id=spring-security-core -Dversion=3.0.0.M1 -Dpackaging=jar -Dfile=/path/to/file

  Alternatively, if you host your own repository you can deploy the file there:

      mvn deploy:deploy-file -DgroupId=org.springframework.security -DartifactId
=spring-security-core -Dversion=3.0.0.M1 -Dpackaging=jar -Dfile=/path/to/file -D
url=[url] -DrepositoryId=[id]

  Path to dependency:
        1) net.stsmedia.financemanager:FinanceManager:war:0.4
        2) org.springframework.security:spring-security-core:jar:3.0.0.M1

2) org.springframework.security:spring-security-config:jar:3.0.0.M1

  Try downloading the file manually from the project website.

  Then, install it using the command:
      mvn install:install-file -DgroupId=org.springframework.security -Dartifact
Id=spring-security-config -Dversion=3.0.0.M1 -Dpackaging=jar -Dfile=/path/to/fil
e

  Alternatively, if you host your own repository you can deploy the file there:

      mvn deploy:deploy-file -DgroupId=org.springframework.security -DartifactId
=spring-security-config -Dversion=3.0.0.M1 -Dpackaging=jar -Dfile=/path/to/file
-Durl=[url] -DrepositoryId=[id]

  Path to dependency:
        1) net.stsmedia.financemanager:FinanceManager:war:0.4
        2) org.springframework.security:spring-security-config:jar:3.0.0.M1

3) org.springframework.security:spring-security-taglibs:jar:3.0.0.M1

  Try downloading the file manually from the project website.

  Then, install it using the command:
      mvn install:install-file -DgroupId=org.springframework.security -Dartifact
Id=spring-security-taglibs -Dversion=3.0.0.M1 -Dpackaging=jar -Dfile=/path/to/fi
le

  Alternatively, if you host your own repository you can deploy the file there:

      mvn deploy:deploy-file -DgroupId=org.springframework.security -DartifactId
=spring-security-taglibs -Dversion=3.0.0.M1 -Dpackaging=jar -Dfile=/path/to/file
 -Durl=[url] -DrepositoryId=[id]

  Path to dependency:
        1) net.stsmedia.financemanager:FinanceManager:war:0.4
        2) org.springframework.security:spring-security-taglibs:jar:3.0.0.M1</description>
		<content:encoded><![CDATA[<p>Hi,<br />
When i am trying to install, not able to install spring security 3.0 M1. Getting following error.</p>
<p>Missing:<br />
&#8212;&#8212;&#8212;-<br />
1) org.springframework.security:spring-security-core:jar:3.0.0.M1</p>
<p>  Try downloading the file manually from the project website.</p>
<p>  Then, install it using the command:<br />
      mvn install:install-file -DgroupId=org.springframework.security -Dartifact<br />
Id=spring-security-core -Dversion=3.0.0.M1 -Dpackaging=jar -Dfile=/path/to/file</p>
<p>  Alternatively, if you host your own repository you can deploy the file there:</p>
<p>      mvn deploy:deploy-file -DgroupId=org.springframework.security -DartifactId<br />
=spring-security-core -Dversion=3.0.0.M1 -Dpackaging=jar -Dfile=/path/to/file -D<br />
url=[url] -DrepositoryId=[id]</p>
<p>  Path to dependency:<br />
        1) net.stsmedia.financemanager:FinanceManager:war:0.4<br />
        2) org.springframework.security:spring-security-core:jar:3.0.0.M1</p>
<p>2) org.springframework.security:spring-security-config:jar:3.0.0.M1</p>
<p>  Try downloading the file manually from the project website.</p>
<p>  Then, install it using the command:<br />
      mvn install:install-file -DgroupId=org.springframework.security -Dartifact<br />
Id=spring-security-config -Dversion=3.0.0.M1 -Dpackaging=jar -Dfile=/path/to/fil<br />
e</p>
<p>  Alternatively, if you host your own repository you can deploy the file there:</p>
<p>      mvn deploy:deploy-file -DgroupId=org.springframework.security -DartifactId<br />
=spring-security-config -Dversion=3.0.0.M1 -Dpackaging=jar -Dfile=/path/to/file<br />
-Durl=[url] -DrepositoryId=[id]</p>
<p>  Path to dependency:<br />
        1) net.stsmedia.financemanager:FinanceManager:war:0.4<br />
        2) org.springframework.security:spring-security-config:jar:3.0.0.M1</p>
<p>3) org.springframework.security:spring-security-taglibs:jar:3.0.0.M1</p>
<p>  Try downloading the file manually from the project website.</p>
<p>  Then, install it using the command:<br />
      mvn install:install-file -DgroupId=org.springframework.security -Dartifact<br />
Id=spring-security-taglibs -Dversion=3.0.0.M1 -Dpackaging=jar -Dfile=/path/to/fi<br />
le</p>
<p>  Alternatively, if you host your own repository you can deploy the file there:</p>
<p>      mvn deploy:deploy-file -DgroupId=org.springframework.security -DartifactId<br />
=spring-security-taglibs -Dversion=3.0.0.M1 -Dpackaging=jar -Dfile=/path/to/file<br />
 -Durl=[url] -DrepositoryId=[id]</p>
<p>  Path to dependency:<br />
        1) net.stsmedia.financemanager:FinanceManager:war:0.4<br />
        2) org.springframework.security:spring-security-taglibs:jar:3.0.0.M1</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: sschmidt</title>
		<link>http://stsmedia.net/spring-finance-part-6-spring-security-3-integration/comment-page-1/#comment-76</link>
		<dc:creator>sschmidt</dc:creator>
		<pubDate>Mon, 22 Jun 2009 23:49:03 +0000</pubDate>
		<guid isPermaLink="false">http://stsmedia.net/?p=313#comment-76</guid>
		<description>@ka

Every release of the Spring Finance Manager sample application is a fully working application. So you should be able to download, build and deploy it immidiately. 

With each new blog post in this series I have been extending the functionality of the application to demonstrate new features. So at the moment I am not planning to conclude this series but that is not really the point as you can use the current fully functional version to learn from it. If you find that it contains too many technologies (WebFlow, Security) you can use a previous version and learn from that first.

Hope this helps.

-Stefan</description>
		<content:encoded><![CDATA[<p>@ka</p>
<p>Every release of the Spring Finance Manager sample application is a fully working application. So you should be able to download, build and deploy it immidiately. </p>
<p>With each new blog post in this series I have been extending the functionality of the application to demonstrate new features. So at the moment I am not planning to conclude this series but that is not really the point as you can use the current fully functional version to learn from it. If you find that it contains too many technologies (WebFlow, Security) you can use a previous version and learn from that first.</p>
<p>Hope this helps.</p>
<p>-Stefan</p>
]]></content:encoded>
	</item>
</channel>
</rss>
