ourslay

ourslay

V2EX member #182874, joined on 2016-07-20 14:51:30 +08:00
Per ourslay's settings, the topics list is hidden
Deals info, including closed deals, is not hidden
ourslay's recent replies
@coderpwh Phantom 上可以添加监视地址... 记住主动找你私聊的都是骗子。
Aug 14, 2023
Replied to a topic by jimisun 程序员 Http 协议或(其他)协议的调用换标准 SQL
superset 的交互可以看看参考下

实现的话直接使用 JDBC 。定义好接口,获取 schema ,table ,columns 等。不同的 db 去实现一下。
Jul 31, 2023
Replied to a topic by kachu673 Java Spring 工程师常规解决方案
springdoc springfox 替代品
okhttp
restclient RestTemplate 实现
spring security
refresh-scope 应该比较优雅实现。只需要引入 spring-cloud-commons 依赖即可
https://docs.spring.io/spring-cloud-commons/docs/4.0.3/reference/html/#refresh-scope
Mar 14, 2023
Replied to a topic by Mason2021 程序员 分享: Zed 编辑器邀请链接
做好重试,可以试试 loom 虚拟线程很丝滑
Sep 21, 2022
Replied to a topic by yazinnnn Java java19 ga
@nba2k9 已经支持了
建议 channel 不要频繁打开关闭。本身是多路复用且线程安全本身。伴随着应用的生命周期一块管理。
Jan 23, 2021
Replied to a topic by MIUIOS Java SpringSecurity 前台和后台用户不同表问题
贴下之前回复的。
自定义 Filter 继承 UsernamePasswordAuthenticationFilter,分别实现对 user/admin 的 AuthenticationManager

configure 配置
```
.addFilter(new MultipleAuthenticationFilter(adminAuthenticationManager(), "/admin/login"))
.addFilter(new MultipleAuthenticationFilter(userAuthenticationManager(), "/user/login"));

```
AuthenticationManager 配置
```
List<AuthenticationProvider> providers = new ArrayList<>();
DaoAuthenticationProvider daoAuthenticationProvider = new DaoAuthenticationProvider();
daoAuthenticationProvider.setUserDetailsService(adminDetailsService()); // or userDetailsService
providers.add(daoAuthenticationProvider);
return new ProviderManager(providers);
```
quarkus native
About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   5829 Online   Highest 6679   ·     Select Language
创意工作者们的社区
World is powered by solitude
VERSION: 3.9.8.5 · 17ms · UTC 02:42 · PVG 10:42 · LAX 19:42 · JFK 22:42
♥ Do have faith in what you're doing.