会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
星临人间
博客园
首页
新随笔
联系
订阅
管理
[置顶]
最新最简洁Spring Cloud Oauth2.0 Jwt 的Security方式
摘要: 因为Spring Cloud 2020.0.0和Spring Boot2.4.1版本升级比较大,所以把我接入过程中的一些需要注意的地方告诉大家 我使用的版本是Spring boot 2.4.1+Spring Cloud 2020.0.0 我的架构是Gateway做Resource Server,然后
阅读全文
posted @ 2020-12-29 10:04 星临人间
阅读(2682)
评论(1)
推荐(0)
2021年1月14日
Spring Boot Security 国际化 多语言 i18n 趟过巨坑
摘要: 网上很多的spring boot国际化的文章都是正常情况下的使用方法 如果你像我一样用了Spring Security 那么在多语言的时候可能就会遇到一个深渊 Spring Security里面的异常本身已经是做了多语言的,但是只支持通过Accept-Language来切换错误信息的语言 而我们需要
阅读全文
posted @ 2021-01-14 16:19 星临人间
阅读(1632)
评论(0)
推荐(0)
2021年1月6日
Spring Cloud Gateway 跨域 CORS 配置方式实现
摘要: 网上找了一堆文章全是说这样写无效 globalcors: cors-configurations: '[/**]': allowCredentials: true allowedOriginPatterns: "*" allowedMethods: "*" allowedHeaders: "*" 都
阅读全文
posted @ 2021-01-06 10:12 星临人间
阅读(9429)
评论(0)
推荐(2)
公告