<?xml version="1.0" encoding="UTF-8"?><!-- generator="wordpress.com" -->
<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/"
	>

<channel>
	<title>custom-messages-with-acegi &amp;laquo; WordPress.com Tag Feed</title>
	<link>http://wordpress.com/tag/custom-messages-with-acegi/</link>
	<description>Feed of posts on WordPress.com tagged "custom-messages-with-acegi"</description>
	<pubDate>Mon, 08 Sep 2008 14:00:28 +0000</pubDate>

	<generator>http://wordpress.com/tags/</generator>
	<language>en</language>

<item>
<title><![CDATA[custom message with acegi]]></title>
<link>http://baskarfelix.wordpress.com/?p=16</link>
<pubDate>Wed, 16 Apr 2008 07:25:15 +0000</pubDate>
<dc:creator>baskarfelix</dc:creator>
<guid>http://baskarfelix.wordpress.com/?p=16</guid>
<description><![CDATA[Hi!
I have got the problem while define the custom message in acegi with spring.
 Reading the refer]]></description>
<content:encoded><![CDATA[<p>Hi!</p>
<p>I have got the problem while define the custom message in acegi with spring.</p>
<p><a href="http://www.acegisecurity.org/guide/springsecurity.html" target="_blank"> Reading the reference guide </a>does not help me, since following code snip from it does not work:</p>
<p><span style="font-family:Courier New;">&#60;bean id="messageSource" class="org.springframework.context.support.Reloada bleResourceBundleMessageSource"&#62;</p>
<blockquote><p>
&#60;property name="basename"&#62;&#60;value&#62;my/project/securitymessages&#60;/value&#62;&#60;/property&#62;</p></blockquote>
<p><font face="Courier New">&#60;/bean&#62;</p>
<p></font></span></p>
<p><span style="font-family:Verdana;">After reading the Source Code of Acegi, I have got the following idea:</p>
<p></span><span style="font-family:Courier New;">&#60;bean id="messageSource" class="org.acegisecurity.AcegiMessageSource"&#62;</p>
<blockquote><p>
&#60;property name="basename"&#62;&#60;value&#62;my/project/securitymessages&#60;/value&#62;&#60;/property&#62;</p></blockquote>
<p><font face="Courier New">&#60;/bean&#62;</p>
<p></font></span></p>
<p><span style="font-family:Verdana;">This bean definition works. I have no idea, if the reference guide is wrong or I simply used the MessagesSource otherwise than expected, but since it works for now, it is fine for me and fine for you, too. I hope .</span></p>
]]></content:encoded>
</item>

</channel>
</rss>
