3

I have been trying to implement SSO in an existing java web-application. I have spent lot of hours to understand this thing but couldn't get success so far. Can anyone tell me some guided way by which I can achieve it.

I am looking for

  1. With what module/API should I start
  2. What will be best way to implement SSO for a beginner
  3. Any good books/blogs/websites.

PS : I know Servlet/JSP and have built very simple application using JSP/Servlet till now. (NO FRAMEWORK).

1 Answer 1

1

What exactly do you mean by single sign on, is your application distributed or single sign on on different applications?

You could write filters for authentication and authorisation; where you check for a valid session and if the user has logged in; depending on that dispatch the request to a resource or login page.

Another option is to use Java EE declarative security.

Sign up to request clarification or add additional context in comments.

1 Comment

Everything is on my machine. The application/server (Simple Java ERP application). I am trying to make a simple login page which should use SAML and redirects user to other application using the parameters provided in simple login page.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.