<?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 (Acegi) Security Account Lockout</title>
	<atom:link href="http://www.harinair.com/2010/02/spring-acegi-security-account-lockout/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.harinair.com/2010/02/spring-acegi-security-account-lockout/</link>
	<description>From the desk of a gadget lover</description>
	<lastBuildDate>Tue, 22 Nov 2011 18:24:54 -0600</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.4</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Mohan</title>
		<link>http://www.harinair.com/2010/02/spring-acegi-security-account-lockout/comment-page-1/#comment-605</link>
		<dc:creator>Mohan</dc:creator>
		<pubDate>Tue, 22 Nov 2011 18:24:54 +0000</pubDate>
		<guid isPermaLink="false">http://www.harinair.com/?p=167#comment-605</guid>
		<description>Nice Job Hari!</description>
		<content:encoded><![CDATA[<p>Nice Job Hari!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Alok</title>
		<link>http://www.harinair.com/2010/02/spring-acegi-security-account-lockout/comment-page-1/#comment-599</link>
		<dc:creator>Alok</dc:creator>
		<pubDate>Tue, 31 May 2011 11:16:03 +0000</pubDate>
		<guid isPermaLink="false">http://www.harinair.com/?p=167#comment-599</guid>
		<description>Great post Hari but am facing an issue here:
In LoginSuccessEventListener.java

 @Override  
    public boolean canHandle(Object event) {  
        User principal = this.getPrincipal(event);  
        return (principal != null);  
    } 

Here principal will be null when the server starts so this event is not registered.

Thanks in advance :-)</description>
		<content:encoded><![CDATA[<p>Great post Hari but am facing an issue here:<br />
In LoginSuccessEventListener.java</p>
<p> @Override<br />
    public boolean canHandle(Object event) {<br />
        User principal = this.getPrincipal(event);<br />
        return (principal != null);<br />
    } </p>
<p>Here principal will be null when the server starts so this event is not registered.</p>
<p>Thanks in advance <img src='http://www.harinair.com/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Amit</title>
		<link>http://www.harinair.com/2010/02/spring-acegi-security-account-lockout/comment-page-1/#comment-597</link>
		<dc:creator>Amit</dc:creator>
		<pubDate>Tue, 24 May 2011 18:02:47 +0000</pubDate>
		<guid isPermaLink="false">http://www.harinair.com/?p=167#comment-597</guid>
		<description>hi Hari,
could you please provide whole sourcecode for this example?</description>
		<content:encoded><![CDATA[<p>hi Hari,<br />
could you please provide whole sourcecode for this example?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: John</title>
		<link>http://www.harinair.com/2010/02/spring-acegi-security-account-lockout/comment-page-1/#comment-586</link>
		<dc:creator>John</dc:creator>
		<pubDate>Mon, 08 Nov 2010 12:40:31 +0000</pubDate>
		<guid isPermaLink="false">http://www.harinair.com/?p=167#comment-586</guid>
		<description>It&#039;s authentication.event, not event.authentication</description>
		<content:encoded><![CDATA[<p>It&#8217;s authentication.event, not event.authentication</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Hari Gangadharan</title>
		<link>http://www.harinair.com/2010/02/spring-acegi-security-account-lockout/comment-page-1/#comment-585</link>
		<dc:creator>Hari Gangadharan</dc:creator>
		<pubDate>Thu, 28 Oct 2010 22:12:20 +0000</pubDate>
		<guid isPermaLink="false">http://www.harinair.com/?p=167#comment-585</guid>
		<description>It depends on what type of framework you are using... If you are using JSF, the easiest thing is to add a binding variable:

For example:
&lt;code&gt;
&lt;h:form binding=&quot;#{action.form}.....
&lt;/code&gt;

and in your action:
&lt;code&gt;
private UIComponent form;
pubic void setForm(UIComponent form) {
     this.form = form;
     // rest of the code in last section goes here
}
&lt;/code&gt;</description>
		<content:encoded><![CDATA[<p>It depends on what type of framework you are using&#8230; If you are using JSF, the easiest thing is to add a binding variable:</p>
<p>For example:<br />
<code><br />
&lt;h:form binding=&quot;#{action.form}.....<br />
</code></p>
<p>and in your action:<br />
<code><br />
private UIComponent form;<br />
pubic void setForm(UIComponent form) {<br />
     this.form = form;<br />
     // rest of the code in last section goes here<br />
}<br />
</code></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jeff Schenk</title>
		<link>http://www.harinair.com/2010/02/spring-acegi-security-account-lockout/comment-page-1/#comment-584</link>
		<dc:creator>Jeff Schenk</dc:creator>
		<pubDate>Fri, 22 Oct 2010 02:36:43 +0000</pubDate>
		<guid isPermaLink="false">http://www.harinair.com/?p=167#comment-584</guid>
		<description>Great stuff.  Exactly what I needed.  I am adapting for Spring Security 3.</description>
		<content:encoded><![CDATA[<p>Great stuff.  Exactly what I needed.  I am adapting for Spring Security 3.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Raj</title>
		<link>http://www.harinair.com/2010/02/spring-acegi-security-account-lockout/comment-page-1/#comment-583</link>
		<dc:creator>Raj</dc:creator>
		<pubDate>Wed, 20 Oct 2010 07:06:54 +0000</pubDate>
		<guid isPermaLink="false">http://www.harinair.com/?p=167#comment-583</guid>
		<description>Great explanation , But i am confused where to put last code in  your article to show error message



Thanks</description>
		<content:encoded><![CDATA[<p>Great explanation , But i am confused where to put last code in  your article to show error message</p>
<p>Thanks</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Hari Gangadharan</title>
		<link>http://www.harinair.com/2010/02/spring-acegi-security-account-lockout/comment-page-1/#comment-547</link>
		<dc:creator>Hari Gangadharan</dc:creator>
		<pubDate>Wed, 25 Aug 2010 18:40:34 +0000</pubDate>
		<guid isPermaLink="false">http://www.harinair.com/?p=167#comment-547</guid>
		<description>@Michel
Interesting. Normally it should throw a LockedException.</description>
		<content:encoded><![CDATA[<p>@Michel<br />
Interesting. Normally it should throw a LockedException.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Tomek</title>
		<link>http://www.harinair.com/2010/02/spring-acegi-security-account-lockout/comment-page-1/#comment-546</link>
		<dc:creator>Tomek</dc:creator>
		<pubDate>Wed, 25 Aug 2010 13:48:44 +0000</pubDate>
		<guid isPermaLink="false">http://www.harinair.com/?p=167#comment-546</guid>
		<description>..... but as of Spring 3.0, new ApplicationListener can be declared and registered in AppContext to automatically filter events of exact type</description>
		<content:encoded><![CDATA[<p>&#8230;.. but as of Spring 3.0, new ApplicationListener can be declared and registered in AppContext to automatically filter events of exact type</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Tomek</title>
		<link>http://www.harinair.com/2010/02/spring-acegi-security-account-lockout/comment-page-1/#comment-545</link>
		<dc:creator>Tomek</dc:creator>
		<pubDate>Wed, 25 Aug 2010 13:32:49 +0000</pubDate>
		<guid isPermaLink="false">http://www.harinair.com/?p=167#comment-545</guid>
		<description>Good job :)</description>
		<content:encoded><![CDATA[<p>Good job <img src='http://www.harinair.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
</channel>
</rss>

