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
PS : I know Servlet/JSP and have built very simple application using JSP/Servlet till now. (NO FRAMEWORK).
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.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With