记录一下Spring Security Oauth2 认证(/oauth/token获取token)的源码出处
1.用户发起获取token请求(/oauth/token):map:Mapmap=newHashMappostAccessToken(Principalprincipal,@RequestParamMapparameters)throwsHttpRequestMethodNotSupportedException{if(!(principalinstanceofAuthentication)){t