User must be authenticated with Spring Security before authorization can be completed.异常处理
错误:UsermustbeauthenticatedwithSpringSecuritybeforeauthorizationcanbecompleted.简要说下错误原因:该错误是oauth2授权码模式访问接口/oauth/authorize时,由于SpringSecurity上下文中没有用户认证信息,所以在springsecurity中拦截报错。源码中在/oauth/authorize接口de