As the question says, I am trying to implement Single Sign On for my java project. I am using tomcat 8. But I don't have any idea how to implement this. When user enter Username and Password for first time and he/she close the window without logout from application. Then, when user open application again then user should not enter username and password again or user should be logged in. It would be great and really helpful if someone guide me for the same.
Asked
Active
Viewed 372 times
0
-
we use a database for that, store a session variable, unique token on log in which is use in the session thereafter – juju Apr 15 '20 at 08:46
-
@juju could you please explain it more because I know session variable then how can I use it for single sign on. :) – priya dhanba Apr 15 '20 at 09:09
-
I would recommend doing a lot of reading, have included some links in the answer but, there's no simple, easy answer, you'll have to build it according to your specs, based on good knowledge of the subject. – juju Apr 15 '20 at 09:16
1 Answers
0
seems like there is already answer here;
How to Implement SSO on existing tomcat web application
but some further reading;
https://dzone.com/articles/how-to-integrate-sso-into-your-application

juju
- 553
- 1
- 4
- 21