PDA

View Full Version : BlazeDS Flex Spring integration on netbeans



giorgino
Jul 14th, 2009, 04:32 PM
Hi,
I need some information about how to configure on netbeans 6.5.1 Spring with BlazeDS for Flex as client (and it is not important at the moment other tools as Hibernate iBatis etc or configuration with Maven ). I read a lot of documentation but I'm quite confusing and after some aptempts I hope that someone could help me.
Could you tell me the right steps to follow?

Thank you in advance
Giņ

giorgino
Jul 15th, 2009, 02:48 AM
Please gave me an help against this issue. It is quite important.

Gio

jeremyg484
Jul 15th, 2009, 01:37 PM
In terms of the core setup of Spring, BlazeDS, and Flex it should not be any different from the way things are done in the testdrive sample. I would suggest starting there.

giorgino
Jul 27th, 2009, 05:51 PM
I think that I successfully managed the issue following your suggestion. Now I had another problem that regards security, because I would like to do something different in comparision to TestDrive example. I had a login form in Flex that calls the channelSet.login (username,password)

I would like that this call go to a Java class in the server side where I can put some system.out and others. Which class I had to extend and besides what about xml configuration files. In TestDrive you show how it is possible to make a method secure but there are not example with Java classes that manage authentication, also because after I would like to extend the authentication making queries to my database. Please help me because I searched in a lot of places and made a lot of tests, but at the moment I'm not able to solve this issue.
Thank you in advance

jeremyg484
Jul 29th, 2009, 12:07 PM
You can plug in custom Authentication via the standard mechanisms provided by Spring Security. http://static.springsource.org/spring-security/site/docs/2.0.x/reference/springsecurity.html

In particular, I think what you are looking for is the DAO Authentication Provider (http://static.springsource.org/spring-security/site/docs/2.0.x/reference/dao-provider.html).