Extended Spring OAuth2 tonr/sparklr samples to support Single sign on.
- spring-* : 3.2.8.RELEASE
- spring-security : 3.2.3.RELEASE
- spring-security-oauth2 : 2.0.1.RELEASE
- spring-security-jwt : 1.0.2.RELEASE
"mvn package" in oauth2-sso-samples directory will create three war files (tonr, sparklr, keyhole).
- Import tonr, sparklr, keyhole and oauth2sso projects with "Existing Maven projects" (Import -> Maven)
- If necessary, import also "spring-security-oauth2" and "spring-security-jwt" from spring-security-oauth. (This should not be necessary, but eclipse will complain about spring-security-oauth2-2.0.xsd file if they are not imported).
Now you can deploy all 3 apps (tonr2, sparklr2, keyhole2) into your Servers environment!
See this document how these sample apps works: OAuth2 Single Sign On with spring-security-oauth2