上一页 1 ··· 17 18 19 20 21 22 23 24 25 ··· 52 下一页

2022年4月11日

spring security oauth2.x迁移到spring security5.x 资源服务器启用url参数传递token

摘要: 现象 opaque token模式使用url参数access_token传递token访问资源服务器时报错401未授权 原因 spr... 阅读全文

posted @ 2022-04-11 22:38 路过君 阅读(127) 评论(0) 推荐(0)

spring security 5 oauth2 资源服务器无法正确处理用户授权 报错insufficient_scope

摘要: 现象 客户端通过授权码模式获取不透明令牌(opaque token),使用令牌访问资源服务器 资源服务器安全配置只能处理客户端sco... 阅读全文

posted @ 2022-04-11 22:38 路过君 阅读(576) 评论(0) 推荐(0)

springboot 使用ResponseEntity实现文件流下载

摘要: @GetMapping(value = "/api/file/{id}", produces = MediaType.APPLICA... 阅读全文

posted @ 2022-04-11 22:38 路过君 阅读(604) 评论(0) 推荐(0)

springdoc swagger3 文件上传API正确写法

摘要: 错误写法 接口测试执行按钮没反应 @PutMapping("/api/file")public String upload( ... 阅读全文

posted @ 2022-04-11 22:38 路过君 阅读(594) 评论(0) 推荐(0)

k8s kubectl 在容器中执行命令 进入容器SHELL

摘要: 执行命令 kubectl -n exec -it -c -- 进入shell kubectl -n exec -it -... 阅读全文

posted @ 2022-04-11 22:38 路过君 阅读(122) 评论(0) 推荐(0)

k8s kubectl 修改PV回收策略

摘要: linux kubectl patch pv -p '{"spec":{"persistentVolumeReclaimPolic... 阅读全文

posted @ 2022-04-11 22:38 路过君 阅读(10) 评论(0) 推荐(0)

windows kubectl安装配置

摘要: 官方文档 直接下载 https://dl.k8s.io/release/v1.22.0/bin/windows/amd64/kube... 阅读全文

posted @ 2022-04-11 22:38 路过君 阅读(26) 评论(0) 推荐(0)

k8s headless service DNS格式

摘要: -{0..n-1}...svc.cluster.local statefulSetName 有状态负载名称0…n-1 POD序号se... 阅读全文

posted @ 2022-04-11 22:38 路过君 阅读(22) 评论(0) 推荐(0)

fastjson全局配置

摘要: com.alibaba.fastjson.parser.ParserConfig.global 阅读全文

posted @ 2022-04-11 22:38 路过君 阅读(19) 评论(0) 推荐(0)

springboot 扫描类

摘要: ClassPathScanningCandidateComponentProvider // 关闭默认过滤器ClassPathSca... 阅读全文

posted @ 2022-04-11 22:38 路过君 阅读(64) 评论(0) 推荐(0)

上一页 1 ··· 17 18 19 20 21 22 23 24 25 ··· 52 下一页

导航