public class OAuth2ResourceServerConfig extends ResourceServerConfigurerAdapter
A:表示拿到请求的url
B:拿出所有的白名单url去和请求的url比较,放进permitall
C:关闭跨站请求防护
Spring Security相关知识
https://www.cnblogs.com/lushichao/p/12503780.html

remoteTokenServices.setRestTemplate(lbRestTemplate);
resources.tokenServices(remoteTokenServices);
解析:应该是一个轮询的请求HTTP,比如auth模块往gateway模块请求验证token准确性
@EnableResourceServer
Spring Cloud Security OAuth2 实现资源服务配置以及测试
https://blog.csdn.net/weixin_44588495/article/details/106035681?spm=1001.2101.3001.6650.5&utm_medium=distribute.pc_relevant.none-task-blog-2%7Edefault%7ECTRLIST%7ERate-5-106035681-blog-118443254.pc_relevant_3mothn_strategy_recovery&depth_1-utm_source=distribute.pc_relevant.none-task-blog-2%7Edefault%7ECTRLIST%7ERate-5-106035681-blog-118443254.pc_relevant_3mothn_strategy_recovery&utm_relevant_index=10
浙公网安备 33010602011771号