What a .OAuth2 that? OAuth2 solve the problem
1.OAuth2 third-party licensing agreements, support for authentication and authorization
2.OAuth2 in the division of roles:
Resource owners
Client
Resource server
Authorization server
Two .OAuth2 how to use?
Three .OAuth2 and Spring Security OAuth2, as well as the relationship of Shiro
Spring Security OAuth2 provides an implementation of the OAuth2 protocol;
Shro also provide implementations for OAuth2 protocol;