How to Implement SSO on existing tomcat web application

后端 未结 4 1809
忘了有多久
忘了有多久 2020-12-08 21:26

I have a tomcat 7 setup with oldApp.war and newApp.war deployed on it. Both the applications share the same login credentials for users on the database.

I can acces

4条回答
  •  庸人自扰
    2020-12-08 22:09

    You can implement SSO in many different ways:

    1. Oauth 2 - http://oauth.net/2/
    2. SAML 2 - https://www.oasis-open.org/committees/tc_home.php?wg_abbrev=security

    SAML 2.0 has many implementations for Identity/Service provider roles.

    For an IDP implementations list I can point you to this stackoverflow post: https://stackoverflow.com/a/761774/126414

    If you are planning to implement a service provider there is a nice spring extension: http://static.springsource.org/spring-security/site/extensions/saml/index.html

提交回复
热议问题