This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
The moose likes Flex and the fly likes Spring BlazeDS Security Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Frameworks » Flex
Bookmark "Spring BlazeDS Security " Watch "Spring BlazeDS Security " New topic
Author

Spring BlazeDS Security

Jay Abrahm
Ranch Hand

Joined: May 28, 2008
Posts: 183
I was wondering which is the best way to go about designing this --

I have a J2EE application which has security for different url links within the app. One of the links takes the user to a Flex application. How do I handle the user directly keying in the Flex application URL. I am using the Spring BlazeDS integration module, do I plug in Spring Security along with this.

I've got only layman'ish knowledge on Spring security, I see the documentation on how this is done for an xml based role but I have to hit the database to verify the user's authentication.
Jay Abrahm
Ranch Hand

Joined: May 28, 2008
Posts: 183
I noticed the following in the newer release

Spring Flex Ref Docs 1.5.x

<flex:message-broker>
<flex:secured login-command="myLoginCommand"/>
</flex:message-broker>

What is the equivalent in org.springframework.flex-1.0.0.RC1
Jay Abrahm
Ranch Hand

Joined: May 28, 2008
Posts: 183
I have updated my release to spring-flex-1.5.0.M2 and have followed the instructions at Spring Flex JIRA but I still get the following error.

How do I fix this configuration.



Updated -- I used org.springframework.flex-1.0.3.RELEASE and it works but it doesn't seem to have login-command.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Spring BlazeDS Security
 
Similar Threads
Spring Security: Retaining an authenticated session without cookies
Exporting ArrayList of beans to xls, csv, txt, dbf
Flexbuilder/Java project configuration
Beginning Java and Flex: Question
Flex and application server choices