<?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: Acegi Security for Dummies</title>
	<atom:link href="http://technology.amis.nl/blog/1151/getting-started-with-acegi-security-system-for-spring/feed" rel="self" type="application/rss+xml" />
	<link>http://technology.amis.nl/blog/1151/getting-started-with-acegi-security-system-for-spring</link>
	<description>Weblog for the AMIS Technology corner</description>
	<lastBuildDate>Fri, 10 Feb 2012 16:47:37 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Sanjoy De</title>
		<link>http://technology.amis.nl/blog/1151/getting-started-with-acegi-security-system-for-spring/comment-page-1#comment-342408</link>
		<dc:creator>Sanjoy De</dc:creator>
		<pubDate>Wed, 17 Sep 2008 12:22:31 +0000</pubDate>
		<guid isPermaLink="false">http://technology.amis.nl/blog/?p=1151#comment-342408</guid>
		<description>Hi Erik,
I am a Java developer and the framework is Spring. This Examples helps me a lot. 
It will be very helpfull for me if you provide an another complete example which includes the complete acigi security.
I actually don&#039;t understand the flow of login. Please give me an examples.

Thanks

Sanjoy De</description>
		<content:encoded><![CDATA[<p>Hi Erik,<br />
I am a Java developer and the framework is Spring. This Examples helps me a lot.<br />
It will be very helpfull for me if you provide an another complete example which includes the complete acigi security.<br />
I actually don&#8217;t understand the flow of login. Please give me an examples.</p>
<p>Thanks</p>
<p>Sanjoy De</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Sachin Mali</title>
		<link>http://technology.amis.nl/blog/1151/getting-started-with-acegi-security-system-for-spring/comment-page-1#comment-297608</link>
		<dc:creator>Sachin Mali</dc:creator>
		<pubDate>Wed, 12 Mar 2008 19:06:17 +0000</pubDate>
		<guid isPermaLink="false">http://technology.amis.nl/blog/?p=1151#comment-297608</guid>
		<description>I would like to thanks AMIS for publishing this article. It has been explained very nicely. Because of this only I was able to implement my Authentication thro JDBC for my Custom Tables as I can not use standard Acegi tables.  Without this I would not have done my application&#039;s authentication and authorization.
Thanks and Regards
Sachin Mali</description>
		<content:encoded><![CDATA[<p>I would like to thanks AMIS for publishing this article. It has been explained very nicely. Because of this only I was able to implement my Authentication thro JDBC for my Custom Tables as I can not use standard Acegi tables.  Without this I would not have done my application&#8217;s authentication and authorization.<br />
Thanks and Regards<br />
Sachin Mali</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Thomas</title>
		<link>http://technology.amis.nl/blog/1151/getting-started-with-acegi-security-system-for-spring/comment-page-1#comment-270601</link>
		<dc:creator>Thomas</dc:creator>
		<pubDate>Mon, 03 Dec 2007 22:34:57 +0000</pubDate>
		<guid isPermaLink="false">http://technology.amis.nl/blog/?p=1151#comment-270601</guid>
		<description>This blog only describes form authentication and not basic authentication like stated.</description>
		<content:encoded><![CDATA[<p>This blog only describes form authentication and not basic authentication like stated.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Anand Mohan Sravanam</title>
		<link>http://technology.amis.nl/blog/1151/getting-started-with-acegi-security-system-for-spring/comment-page-1#comment-242970</link>
		<dc:creator>Anand Mohan Sravanam</dc:creator>
		<pubDate>Mon, 02 Jul 2007 08:43:45 +0000</pubDate>
		<guid isPermaLink="false">http://technology.amis.nl/blog/?p=1151#comment-242970</guid>
		<description>Hi Eric Could you plz help in integrating Jcaptcha in Spring, Hibernate, Acegi environament. The User Name and passwords are stored in the database(MySql). As I am new to these concepts, I am in desperate need. I would be obliged if you help me ata an earliest.</description>
		<content:encoded><![CDATA[<p>Hi Eric Could you plz help in integrating Jcaptcha in Spring, Hibernate, Acegi environament. The User Name and passwords are stored in the database(MySql). As I am new to these concepts, I am in desperate need. I would be obliged if you help me ata an earliest.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: filip</title>
		<link>http://technology.amis.nl/blog/1151/getting-started-with-acegi-security-system-for-spring/comment-page-1#comment-70018</link>
		<dc:creator>filip</dc:creator>
		<pubDate>Fri, 16 Jun 2006 15:12:17 +0000</pubDate>
		<guid isPermaLink="false">http://technology.amis.nl/blog/?p=1151#comment-70018</guid>
		<description>I am using acegi 1.0.0 rc2 and seems that there is a problem, i cannot find method [ setUsersByUsernameMapping(); ]
Can anyone help me with this. I was trying to override UsersByUsername Mapping() but i couldnt manage.
Thanks</description>
		<content:encoded><![CDATA[<p>I am using acegi 1.0.0 rc2 and seems that there is a problem, i cannot find method [ setUsersByUsernameMapping(); ]<br />
Can anyone help me with this. I was trying to override UsersByUsername Mapping() but i couldnt manage.<br />
Thanks</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Bunard</title>
		<link>http://technology.amis.nl/blog/1151/getting-started-with-acegi-security-system-for-spring/comment-page-1#comment-62639</link>
		<dc:creator>Bunard</dc:creator>
		<pubDate>Thu, 25 May 2006 00:55:22 +0000</pubDate>
		<guid isPermaLink="false">http://technology.amis.nl/blog/?p=1151#comment-62639</guid>
		<description>Erik,

Thank you for your reply.

I finally figured out by customizing the CustomUser into the authentication. Since the authentication is in the SecureContext, I can either access the CustomUser at my login jsp and put it to the session or I can access it at my regular servlet.

Here is how I access it:

String customUserName =((CustomUser)
        	         ((SecureContext)net.sf.acegisecurity.context.ContextHolder.getContext()).getAuthentication().getPrincipal()).getUsername()

Thanks,

Bunard</description>
		<content:encoded><![CDATA[<p>Erik,</p>
<p>Thank you for your reply.</p>
<p>I finally figured out by customizing the CustomUser into the authentication. Since the authentication is in the SecureContext, I can either access the CustomUser at my login jsp and put it to the session or I can access it at my regular servlet.</p>
<p>Here is how I access it:</p>
<p>String customUserName =((CustomUser)<br />
        	         ((SecureContext)net.sf.acegisecurity.context.ContextHolder.getContext()).getAuthentication().getPrincipal()).getUsername()</p>
<p>Thanks,</p>
<p>Bunard</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Erik Kerkhoven</title>
		<link>http://technology.amis.nl/blog/1151/getting-started-with-acegi-security-system-for-spring/comment-page-1#comment-61269</link>
		<dc:creator>Erik Kerkhoven</dc:creator>
		<pubDate>Tue, 23 May 2006 01:01:54 +0000</pubDate>
		<guid isPermaLink="false">http://technology.amis.nl/blog/?p=1151#comment-61269</guid>
		<description>Sounds like a valid business case and a good idea to switch to Spring gradually. See: http://www.acegisecurity.org/standalone.html. 
See the answer of Ben Alex at http://forum.springframework.org/archive/index.php/t-9911.html
If your other application is Struts, you could use a plug-in, see: http://www.jroller.com/page/fairTrade?entry=integrating_acegi_and_struts. Here&#039;s another example of Acegi - Struts integration with plug-in: http://www.jroller.com/page/chololo?entry=integrating_jcaptcha_with_acegi_security.</description>
		<content:encoded><![CDATA[<p>Sounds like a valid business case and a good idea to switch to Spring gradually. See: <a href="http://www.acegisecurity.org/standalone.html" rel="nofollow">http://www.acegisecurity.org/standalone.html</a>.<br />
See the answer of Ben Alex at <a href="http://forum.springframework.org/archive/index.php/t-9911.html" rel="nofollow">http://forum.springframework.org/archive/index.php/t-9911.html</a><br />
If your other application is Struts, you could use a plug-in, see: <a href="http://www.jroller.com/page/fairTrade?entry=integrating_acegi_and_struts" rel="nofollow">http://www.jroller.com/page/fairTrade?entry=integrating_acegi_and_struts</a>. Here&#8217;s another example of Acegi &#8211; Struts integration with plug-in: <a href="http://www.jroller.com/page/chololo?entry=integrating_jcaptcha_with_acegi_security" rel="nofollow">http://www.jroller.com/page/chololo?entry=integrating_jcaptcha_with_acegi_security</a>.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Bunard</title>
		<link>http://technology.amis.nl/blog/1151/getting-started-with-acegi-security-system-for-spring/comment-page-1#comment-59817</link>
		<dc:creator>Bunard</dc:creator>
		<pubDate>Fri, 19 May 2006 17:45:23 +0000</pubDate>
		<guid isPermaLink="false">http://technology.amis.nl/blog/?p=1151#comment-59817</guid>
		<description>Erik,

Now, that it works. The next step is I want to pass username, password, user roles, dept id... to HttpSession from AuthenticationJdbcDaoImpl so that my non-spring framework application can acces them. 

Do you know how to do that?  The Acegi and Spring framework are new to me. We decide to switch to them because we think they are good and secure frameworks.

I appreciate for your help.

Thanks,

Bunard

**************
My plan is to intergrate a new spring framework appliaction to the current non-framework application and use Acegi Security login for both of applications. Eventually, we will migrate the non-spring framework application to spring framework.</description>
		<content:encoded><![CDATA[<p>Erik,</p>
<p>Now, that it works. The next step is I want to pass username, password, user roles, dept id&#8230; to HttpSession from AuthenticationJdbcDaoImpl so that my non-spring framework application can acces them. </p>
<p>Do you know how to do that?  The Acegi and Spring framework are new to me. We decide to switch to them because we think they are good and secure frameworks.</p>
<p>I appreciate for your help.</p>
<p>Thanks,</p>
<p>Bunard</p>
<p>**************<br />
My plan is to intergrate a new spring framework appliaction to the current non-framework application and use Acegi Security login for both of applications. Eventually, we will migrate the non-spring framework application to spring framework.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Erik Kerkhoven</title>
		<link>http://technology.amis.nl/blog/1151/getting-started-with-acegi-security-system-for-spring/comment-page-1#comment-58617</link>
		<dc:creator>Erik Kerkhoven</dc:creator>
		<pubDate>Wed, 17 May 2006 23:15:54 +0000</pubDate>
		<guid isPermaLink="false">http://technology.amis.nl/blog/?p=1151#comment-58617</guid>
		<description>Sorry, I didn&#039;t understand you Maven issue. Thank you very much for your reply; very kind.</description>
		<content:encoded><![CDATA[<p>Sorry, I didn&#8217;t understand you Maven issue. Thank you very much for your reply; very kind.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Bunard</title>
		<link>http://technology.amis.nl/blog/1151/getting-started-with-acegi-security-system-for-spring/comment-page-1#comment-58614</link>
		<dc:creator>Bunard</dc:creator>
		<pubDate>Wed, 17 May 2006 23:02:29 +0000</pubDate>
		<guid isPermaLink="false">http://technology.amis.nl/blog/?p=1151#comment-58614</guid>
		<description>Since maven has some problem. I manually build the sample and it works.
Thank you to Mr. Erik Kerkhoven for providing this sample.</description>
		<content:encoded><![CDATA[<p>Since maven has some problem. I manually build the sample and it works.<br />
Thank you to Mr. Erik Kerkhoven for providing this sample.</p>
]]></content:encoded>
	</item>
</channel>
</rss>

