Just started to do a single sign-on with colleagues redis save session, but still feel better achieved by cas or OAuth2.
Before see people blog to write a demo, I feel pretty good, want springboot rewrite, familiar way down.
https://segmentfault.com/a/1190000013467122 <mode the OAuth2
https://www.cnblogs.com/ywlaker/p/6113927.html#!comments <employed Demo
https://github.com/deadzq/simple-sso1 <demo