<?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: Struts 2 Tutorial &#8211; Interceptors</title>
	<atom:link href="http://www.benmccann.com/dev-blog/struts-2-tutorial-interceptors/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.benmccann.com/dev-blog/struts-2-tutorial-interceptors/</link>
	<description>The software development weblog of Benjamin McCann.</description>
	<lastBuildDate>Sun, 21 Mar 2010 13:30:26 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Ben</title>
		<link>http://www.benmccann.com/dev-blog/struts-2-tutorial-interceptors/comment-page-1/#comment-20431</link>
		<dc:creator>Ben</dc:creator>
		<pubDate>Sat, 06 Feb 2010 17:31:39 +0000</pubDate>
		<guid isPermaLink="false">http://www.lumidant.com/blog/?p=85#comment-20431</guid>
		<description>Kamlesh, what you are talking about is tying a login to an IP address.  You can invalidate the session ID if the IP address changes or ignore all new session requests while there is an active session under an old IP address.  This can present usability problems to some users if their IP address changes.  Another option would be to present an alert to the user that the IP address logged in has changed.  For example, GMail lists the last account activity on the page.  You should log these instances as well in case they present a security incident.  You&#039;ll likely want to put a decent portion of this logic in your login Action.</description>
		<content:encoded><![CDATA[<p>Kamlesh, what you are talking about is tying a login to an IP address.  You can invalidate the session ID if the IP address changes or ignore all new session requests while there is an active session under an old IP address.  This can present usability problems to some users if their IP address changes.  Another option would be to present an alert to the user that the IP address logged in has changed.  For example, GMail lists the last account activity on the page.  You should log these instances as well in case they present a security incident.  You&#8217;ll likely want to put a decent portion of this logic in your login Action.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Kamlesh</title>
		<link>http://www.benmccann.com/dev-blog/struts-2-tutorial-interceptors/comment-page-1/#comment-20395</link>
		<dc:creator>Kamlesh</dc:creator>
		<pubDate>Sat, 06 Feb 2010 05:35:31 +0000</pubDate>
		<guid isPermaLink="false">http://www.lumidant.com/blog/?p=85#comment-20395</guid>
		<description>Hi Benjamin

Actually we are already using interceptor in our web portal, But in this web portal one user can login more than once simultaneously with the same username and password(username is unique).

It means if i logged in with username &quot;kamlesh&quot; and pw &quot;123456&quot; even though other can login with username &quot;kamlesh&quot; ane pw &quot;123456&quot; (the username is unique).  I want to restrict this. 

At a time Only one can login with one username. No one can login with username which is already logged in.
If you have faced this problem then pls help out me.

Regard
Kamlesh</description>
		<content:encoded><![CDATA[<p>Hi Benjamin</p>
<p>Actually we are already using interceptor in our web portal, But in this web portal one user can login more than once simultaneously with the same username and password(username is unique).</p>
<p>It means if i logged in with username &#8220;kamlesh&#8221; and pw &#8220;123456&#8243; even though other can login with username &#8220;kamlesh&#8221; ane pw &#8220;123456&#8243; (the username is unique).  I want to restrict this. </p>
<p>At a time Only one can login with one username. No one can login with username which is already logged in.<br />
If you have faced this problem then pls help out me.</p>
<p>Regard<br />
Kamlesh</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ben</title>
		<link>http://www.benmccann.com/dev-blog/struts-2-tutorial-interceptors/comment-page-1/#comment-20386</link>
		<dc:creator>Ben</dc:creator>
		<pubDate>Sat, 06 Feb 2010 02:35:44 +0000</pubDate>
		<guid isPermaLink="false">http://www.lumidant.com/blog/?p=85#comment-20386</guid>
		<description>Kamlesh, I&#039;m afraid I don&#039;t understand your question entirely.</description>
		<content:encoded><![CDATA[<p>Kamlesh, I&#8217;m afraid I don&#8217;t understand your question entirely.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Kamlesh</title>
		<link>http://www.benmccann.com/dev-blog/struts-2-tutorial-interceptors/comment-page-1/#comment-20336</link>
		<dc:creator>Kamlesh</dc:creator>
		<pubDate>Fri, 05 Feb 2010 10:19:03 +0000</pubDate>
		<guid isPermaLink="false">http://www.lumidant.com/blog/?p=85#comment-20336</guid>
		<description>Hi Benjamin,

Nice to see your blog,
we are using interceptor, now we want that only one can login with the same usename, can we do it by using interceptor, how? pls guide me.

Tanx
Kamlesh</description>
		<content:encoded><![CDATA[<p>Hi Benjamin,</p>
<p>Nice to see your blog,<br />
we are using interceptor, now we want that only one can login with the same usename, can we do it by using interceptor, how? pls guide me.</p>
<p>Tanx<br />
Kamlesh</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ben</title>
		<link>http://www.benmccann.com/dev-blog/struts-2-tutorial-interceptors/comment-page-1/#comment-20322</link>
		<dc:creator>Ben</dc:creator>
		<pubDate>Thu, 04 Feb 2010 22:07:33 +0000</pubDate>
		<guid isPermaLink="false">http://www.lumidant.com/blog/?p=85#comment-20322</guid>
		<description>Praveen, the struts.xml file will look the same regardless.</description>
		<content:encoded><![CDATA[<p>Praveen, the struts.xml file will look the same regardless.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Praveen Aithal</title>
		<link>http://www.benmccann.com/dev-blog/struts-2-tutorial-interceptors/comment-page-1/#comment-20212</link>
		<dc:creator>Praveen Aithal</dc:creator>
		<pubDate>Wed, 03 Feb 2010 07:39:06 +0000</pubDate>
		<guid isPermaLink="false">http://www.lumidant.com/blog/?p=85#comment-20212</guid>
		<description>I dint know about this. Thanks for the idea. But I wanted to know how struts.xml will look in the last case: Intercepting after View Creation. plz help me and thanks in advance.</description>
		<content:encoded><![CDATA[<p>I dint know about this. Thanks for the idea. But I wanted to know how struts.xml will look in the last case: Intercepting after View Creation. plz help me and thanks in advance.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Bhaskar V</title>
		<link>http://www.benmccann.com/dev-blog/struts-2-tutorial-interceptors/comment-page-1/#comment-16544</link>
		<dc:creator>Bhaskar V</dc:creator>
		<pubDate>Mon, 02 Nov 2009 07:01:25 +0000</pubDate>
		<guid isPermaLink="false">http://www.lumidant.com/blog/?p=85#comment-16544</guid>
		<description>It is very good for beginners Struts2....</description>
		<content:encoded><![CDATA[<p>It is very good for beginners Struts2&#8230;.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: PEEBEEASH</title>
		<link>http://www.benmccann.com/dev-blog/struts-2-tutorial-interceptors/comment-page-1/#comment-15163</link>
		<dc:creator>PEEBEEASH</dc:creator>
		<pubDate>Thu, 01 Oct 2009 11:09:52 +0000</pubDate>
		<guid isPermaLink="false">http://www.lumidant.com/blog/?p=85#comment-15163</guid>
		<description>This is one of the best example I have ever read for interceptor...Really fantastic example.....It helped me a lot..Thanks a lot</description>
		<content:encoded><![CDATA[<p>This is one of the best example I have ever read for interceptor&#8230;Really fantastic example&#8230;..It helped me a lot..Thanks a lot</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Nageswara Rao M</title>
		<link>http://www.benmccann.com/dev-blog/struts-2-tutorial-interceptors/comment-page-1/#comment-13271</link>
		<dc:creator>Nageswara Rao M</dc:creator>
		<pubDate>Fri, 07 Aug 2009 09:03:50 +0000</pubDate>
		<guid isPermaLink="false">http://www.lumidant.com/blog/?p=85#comment-13271</guid>
		<description>Hi..,
This information good and stight forward to the beginers.
I really enjoyed while reading this article.
Thak you.</description>
		<content:encoded><![CDATA[<p>Hi..,<br />
This information good and stight forward to the beginers.<br />
I really enjoyed while reading this article.<br />
Thak you.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Arne</title>
		<link>http://www.benmccann.com/dev-blog/struts-2-tutorial-interceptors/comment-page-1/#comment-12401</link>
		<dc:creator>Arne</dc:creator>
		<pubDate>Fri, 10 Jul 2009 13:21:52 +0000</pubDate>
		<guid isPermaLink="false">http://www.lumidant.com/blog/?p=85#comment-12401</guid>
		<description>Please do NOT use the &quot;Open Session in View-Pattern&quot;. This should only be an example to unerstand how interceptors works. The &quot;Open Session in View Pattern&quot; makes the View dependend on persistence layer aspects...</description>
		<content:encoded><![CDATA[<p>Please do NOT use the &#8220;Open Session in View-Pattern&#8221;. This should only be an example to unerstand how interceptors works. The &#8220;Open Session in View Pattern&#8221; makes the View dependend on persistence layer aspects&#8230;</p>
]]></content:encoded>
	</item>
</channel>
</rss>
