File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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 EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Frameworks » Flex
Bookmark "Spring BlazeDS Security " Watch "Spring BlazeDS Security " New topic

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:secured login-command="myLoginCommand"/>

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.
It is sorta covered in the JavaRanch Style Guide.
subject: Spring BlazeDS Security
Similar Threads
Flex and application server choices
Flexbuilder/Java project configuration
Exporting ArrayList of beans to xls, csv, txt, dbf
Spring Security: Retaining an authenticated session without cookies
Beginning Java and Flex: Question