Programmers Stack Exchange is a question and answer site for professional programmers interested in conceptual questions about software development. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

We have three applications developed in Flex and all these use BlazeDS. These applications have their own authentication implementations (Database). Also they will be deployed in tomcat. Deploying all these applications in the same tomcat instance is acceptable for us.

We want to bring the authentication credentials of all these applications into a single place and also provide SSO feature between these applications. We also want the authentication module to be configurable. Something like the system administrator can decide if the authentication should be done against a database or LDAP.

Say, if the user successfully logs into app1, and when he access app2 in the same browser he should be automatically logged in. Same goes for logout as well.

We have been exploring OpenAM, jGuard and JOSSO. I'm not sure if these require lot of customization to work with Flex. I would like to know how people are implementing SSO for Flex applications.

Is there a common and simple SSO solution available for Flex based applications ?

share|improve this question

closed as off-topic by GlenH7, gnat, Robert Harvey, MichaelT, Kilian Foth Oct 25 '13 at 11:37

This question appears to be off-topic. The users who voted to close gave this specific reason:

  • "Questions asking us to recommend a tool, library or favorite off-site resource are off-topic for Programmers as they tend to attract opinionated answers and spam. Instead, describe the problem and what has been done so far to solve it." – GlenH7, gnat, Robert Harvey, Community, Kilian Foth
If this question can be reworded to fit the rules in the help center, please edit the question.

not sure how simple you are going to get, SSO is inherently complicated – Ryathal Mar 20 '12 at 19:46

We had a Flex app with a tcServer(tomcat)/Spring app using BlazeDS. We were using SiteMinder as our SSO, and Spring Security to handle the security. Everything was done on the server-side using Spring Security annotations. The basics of SSO with Spring Security is to use a preauth filter, which uses the SiteMinder headers to lookup the user, and then let Spring Security wire together the roles and handle authorization. Once everything was setup, it was extremely easy to use. SiteMinder handled the login process, and secured the URL. The UI code didn't have to change at all, save for removing the login screens since SiteMinder handled that for us.

Not sure if OpenAM, jGuard, or JOSSO work in a similar fashion, but if you are using Spring in your backend, or are thinking about it, I would recommend using Spring Security and letting it handle everything.

share|improve this answer

Not the answer you're looking for? Browse other questions tagged or ask your own question.