<?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: Integration spring security (Acegi) and flex 3 the sequel</title>
	<atom:link href="http://www.gridshore.nl/2008/07/14/integration-spring-security-acegi-and-flex-3-the-sequel/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.gridshore.nl/2008/07/14/integration-spring-security-acegi-and-flex-3-the-sequel/</link>
	<description>A weblog about software engineering, Architecture, Technology an other things we like.</description>
	<lastBuildDate>Wed, 03 Mar 2010 14:31:11 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: jettro</title>
		<link>http://www.gridshore.nl/2008/07/14/integration-spring-security-acegi-and-flex-3-the-sequel/comment-page-1/#comment-29664</link>
		<dc:creator>jettro</dc:creator>
		<pubDate>Fri, 27 Nov 2009 07:55:06 +0000</pubDate>
		<guid isPermaLink="false">http://www.gridshore.nl/?p=155#comment-29664</guid>
		<description>This bean is registered by default using the namespace support of spring-security. But I urge you to take a look at another blogpost of mine and the spring blazeds project. This has much better supprot for security integration than I have used in this blog post. Check:

http://www.gridshore.nl/2009/05/24/integrate-flex-security-in-mate-using-the-spring-blazeds-integration-project/

I also update the sample used in that post books-overview regularly.

hope that helps</description>
		<content:encoded><![CDATA[<p>This bean is registered by default using the namespace support of spring-security. But I urge you to take a look at another blogpost of mine and the spring blazeds project. This has much better supprot for security integration than I have used in this blog post. Check:</p>
<p><a href="http://www.gridshore.nl/2009/05/24/integrate-flex-security-in-mate-using-the-spring-blazeds-integration-project/" rel="nofollow">http://www.gridshore.nl/2009/05/24/integrate-flex-security-in-mate-using-the-spring-blazeds-integration-project/</a></p>
<p>I also update the sample used in that post books-overview regularly.</p>
<p>hope that helps</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: nichloas</title>
		<link>http://www.gridshore.nl/2008/07/14/integration-spring-security-acegi-and-flex-3-the-sequel/comment-page-1/#comment-29662</link>
		<dc:creator>nichloas</dc:creator>
		<pubDate>Fri, 27 Nov 2009 03:21:54 +0000</pubDate>
		<guid isPermaLink="false">http://www.gridshore.nl/?p=155#comment-29662</guid>
		<description>AuthenticationManager manager = (AuthenticationManager)appContext.getBean(&quot;_authenticationManager&quot;);       
how did you get this bean?</description>
		<content:encoded><![CDATA[<p>AuthenticationManager manager = (AuthenticationManager)appContext.getBean(&#8220;_authenticationManager&#8221;);<br />
how did you get this bean?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: freak182</title>
		<link>http://www.gridshore.nl/2008/07/14/integration-spring-security-acegi-and-flex-3-the-sequel/comment-page-1/#comment-16378</link>
		<dc:creator>freak182</dc:creator>
		<pubDate>Mon, 16 Feb 2009 05:46:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.gridshore.nl/?p=155#comment-16378</guid>
		<description>Hello jettro,

I already made some modification in my code. and the result was awesome. when the user already login, i redirect it to welcome screen. I just need to prevent the user overriding current user session when logging in different user in the same browser/tab in firefox. Or the must logout before the other user can login :)

Thanks a lot.
Cheers.</description>
		<content:encoded><![CDATA[<p>Hello jettro,</p>
<p>I already made some modification in my code. and the result was awesome. when the user already login, i redirect it to welcome screen. I just need to prevent the user overriding current user session when logging in different user in the same browser/tab in firefox. Or the must logout before the other user can login <img src='http://www.gridshore.nl/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>Thanks a lot.<br />
Cheers.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: jettro</title>
		<link>http://www.gridshore.nl/2008/07/14/integration-spring-security-acegi-and-flex-3-the-sequel/comment-page-1/#comment-16043</link>
		<dc:creator>jettro</dc:creator>
		<pubDate>Sat, 14 Feb 2009 08:21:10 +0000</pubDate>
		<guid isPermaLink="false">http://www.gridshore.nl/?p=155#comment-16043</guid>
		<description>I have written a reply on the forum, I am curious enough to do some experiments myself as well. If I find something I&#039;ll post it.

thanks, Jettro</description>
		<content:encoded><![CDATA[<p>I have written a reply on the forum, I am curious enough to do some experiments myself as well. If I find something I&#8217;ll post it.</p>
<p>thanks, Jettro</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: freak182</title>
		<link>http://www.gridshore.nl/2008/07/14/integration-spring-security-acegi-and-flex-3-the-sequel/comment-page-1/#comment-16041</link>
		<dc:creator>freak182</dc:creator>
		<pubDate>Sat, 14 Feb 2009 06:05:39 +0000</pubDate>
		<guid isPermaLink="false">http://www.gridshore.nl/?p=155#comment-16041</guid>
		<description>Hello Jettro,

I implemented your tutroials about flex-spring-security and its working fine until i found some problem. I posted in spring forum but i hope you have some idea about this:

http://forum.springframework.org/showthread.php?t=67514

Thanks a lot.</description>
		<content:encoded><![CDATA[<p>Hello Jettro,</p>
<p>I implemented your tutroials about flex-spring-security and its working fine until i found some problem. I posted in spring forum but i hope you have some idea about this:</p>
<p><a href="http://forum.springframework.org/showthread.php?t=67514" rel="nofollow">http://forum.springframework.org/showthread.php?t=67514</a></p>
<p>Thanks a lot.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: cainmaro</title>
		<link>http://www.gridshore.nl/2008/07/14/integration-spring-security-acegi-and-flex-3-the-sequel/comment-page-1/#comment-5871</link>
		<dc:creator>cainmaro</dc:creator>
		<pubDate>Wed, 03 Sep 2008 19:39:52 +0000</pubDate>
		<guid isPermaLink="false">http://www.gridshore.nl/?p=155#comment-5871</guid>
		<description>sorry for my mistake, you&#039;re right the remoteService is from BlazeDS but my customer want XML over Http and i don&#039;t know if RemoteService (blazeDS) do that.
I developed a java service which send back xml stream. i catch now the response in the event.result with all details (status code, error message, ...)

It&#039;s little heavy as a workaround, i hope that adobe will evolve httpservice to include such feature

Thks jettro for your help</description>
		<content:encoded><![CDATA[<p>sorry for my mistake, you&#8217;re right the remoteService is from BlazeDS but my customer want XML over Http and i don&#8217;t know if RemoteService (blazeDS) do that.<br />
I developed a java service which send back xml stream. i catch now the response in the event.result with all details (status code, error message, &#8230;)</p>
<p>It&#8217;s little heavy as a workaround, i hope that adobe will evolve httpservice to include such feature</p>
<p>Thks jettro for your help</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: jettro</title>
		<link>http://www.gridshore.nl/2008/07/14/integration-spring-security-acegi-and-flex-3-the-sequel/comment-page-1/#comment-5861</link>
		<dc:creator>jettro</dc:creator>
		<pubDate>Wed, 03 Sep 2008 18:12:58 +0000</pubDate>
		<guid isPermaLink="false">http://www.gridshore.nl/?p=155#comment-5861</guid>
		<description>Maybe you can create a separate 500 page, but I am not sure. The RemoteService is from BlazeDS and free to use.</description>
		<content:encoded><![CDATA[<p>Maybe you can create a separate 500 page, but I am not sure. The RemoteService is from BlazeDS and free to use.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: cainmaro</title>
		<link>http://www.gridshore.nl/2008/07/14/integration-spring-security-acegi-and-flex-3-the-sequel/comment-page-1/#comment-5853</link>
		<dc:creator>cainmaro</dc:creator>
		<pubDate>Wed, 03 Sep 2008 17:44:33 +0000</pubDate>
		<guid isPermaLink="false">http://www.gridshore.nl/?p=155#comment-5853</guid>
		<description>Thks for your answer, but i don&#039;t use Remote Object which i thing belongs to Flex Data Service (not free). I&#039;m only using HttpService, and what i get in my fault message is only a flex error (http call error ... 2023) and not the functional message sent by the server side.

Maybe i should develop a server side service to send back as http response an xml flow describing the error. and then set the http status to 200, and get the resultHandler process the response ?</description>
		<content:encoded><![CDATA[<p>Thks for your answer, but i don&#8217;t use Remote Object which i thing belongs to Flex Data Service (not free). I&#8217;m only using HttpService, and what i get in my fault message is only a flex error (http call error &#8230; 2023) and not the functional message sent by the server side.</p>
<p>Maybe i should develop a server side service to send back as http response an xml flow describing the error. and then set the http status to 200, and get the resultHandler process the response ?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: jettro</title>
		<link>http://www.gridshore.nl/2008/07/14/integration-spring-security-acegi-and-flex-3-the-sequel/comment-page-1/#comment-5847</link>
		<dc:creator>jettro</dc:creator>
		<pubDate>Wed, 03 Sep 2008 17:30:30 +0000</pubDate>
		<guid isPermaLink="false">http://www.gridshore.nl/?p=155#comment-5847</guid>
		<description>Hi Cainmaro,
in my sample I have created a super class for remote sevices with the following code:
&lt;pre&gt;
    public class RemoteService {
        private static var BAD_CREDENTIALS:String =
                &quot;org.springframework.security.BadCredentialsException : Bad credentials&quot;;

        protected var remoteObject:RemoteObject;

        /**
         * Constructor accepting an id and destination for the actual RemoteObject to create. An event listener
         * is added for exceptions.
         * @param id String representing the id of the new RemoteObject to create
         * @param destination String representing the destination of the RemoteObject to create
         */
        public function RemoteService(id:String, destination:String) {
            this.remoteObject = new RemoteObject(id);
            this.remoteObject.destination = destination;
            this.remoteObject.addEventListener(FaultEvent.FAULT,onRemoteException);
        }

        /**
         * generic fault event handler for all remote object actions. based on the received message an action
         * is taken, mostly throwing a new event.
         * @param event FaultEvent received for handling
         */
        public function onRemoteException(event:FaultEvent):void {
            trace(&#039;code : &#039; + event.fault.faultCode +
                  &#039;, message : &#039; + event.fault.faultString +
                  &#039;,detail : &#039; + event.fault.faultDetail);

            if (event.fault.faultString == BAD_CREDENTIALS) {
                Application.application.dispatchEvent(
                        new AuthenticationFailureEvent(AuthenticationFailureEvent.AUTHENTICATION_FAILURE,
                                &quot;problem while authenticating&quot;))
            } else {
                Application.application.dispatchEvent(
                        new RemoteExceptionEvent(RemoteExceptionEvent.REMOTE_EXCEPTION,
                                &quot;unknown problem occurred during a remote call : &quot; + event.fault.message));
            }
        }
    }
&lt;/pre&gt;
Not sure if that is what you mean, but you catch the fault event and can use the message to differentiate on the type of error</description>
		<content:encoded><![CDATA[<p>Hi Cainmaro,<br />
in my sample I have created a super class for remote sevices with the following code:</p>
<pre>
    public class RemoteService {
        private static var BAD_CREDENTIALS:String =
                "org.springframework.security.BadCredentialsException : Bad credentials";

        protected var remoteObject:RemoteObject;

        /**
         * Constructor accepting an id and destination for the actual RemoteObject to create. An event listener
         * is added for exceptions.
         * @param id String representing the id of the new RemoteObject to create
         * @param destination String representing the destination of the RemoteObject to create
         */
        public function RemoteService(id:String, destination:String) {
            this.remoteObject = new RemoteObject(id);
            this.remoteObject.destination = destination;
            this.remoteObject.addEventListener(FaultEvent.FAULT,onRemoteException);
        }

        /**
         * generic fault event handler for all remote object actions. based on the received message an action
         * is taken, mostly throwing a new event.
         * @param event FaultEvent received for handling
         */
        public function onRemoteException(event:FaultEvent):void {
            trace('code : ' + event.fault.faultCode +
                  ', message : ' + event.fault.faultString +
                  ',detail : ' + event.fault.faultDetail);

            if (event.fault.faultString == BAD_CREDENTIALS) {
                Application.application.dispatchEvent(
                        new AuthenticationFailureEvent(AuthenticationFailureEvent.AUTHENTICATION_FAILURE,
                                "problem while authenticating"))
            } else {
                Application.application.dispatchEvent(
                        new RemoteExceptionEvent(RemoteExceptionEvent.REMOTE_EXCEPTION,
                                "unknown problem occurred during a remote call : " + event.fault.message));
            }
        }
    }
</pre>
<p>Not sure if that is what you mean, but you catch the fault event and can use the message to differentiate on the type of error</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: cainmaro</title>
		<link>http://www.gridshore.nl/2008/07/14/integration-spring-security-acegi-and-flex-3-the-sequel/comment-page-1/#comment-5756</link>
		<dc:creator>cainmaro</dc:creator>
		<pubDate>Tue, 02 Sep 2008 15:14:40 +0000</pubDate>
		<guid isPermaLink="false">http://www.gridshore.nl/?p=155#comment-5756</guid>
		<description>Hi,

Is there a way to get better error reporting using HTTPService? faultEvent didn&#039;t contain any infos !! We cant listen for flash.events.HTTPStatusEvent.HTTP_STATUS, and i want to get a clear error for my end users (from flex,  i want to access exception informations i caught in the java side)

Thks for your help</description>
		<content:encoded><![CDATA[<p>Hi,</p>
<p>Is there a way to get better error reporting using HTTPService? faultEvent didn&#8217;t contain any infos !! We cant listen for flash.events.HTTPStatusEvent.HTTP_STATUS, and i want to get a clear error for my end users (from flex,  i want to access exception informations i caught in the java side)</p>
<p>Thks for your help</p>
]]></content:encoded>
	</item>
</channel>
</rss>
