spring-boot - 带有自定义 ReactiveAuthenticationManager 的 Spring Boot 执行器审计事件
问题描述
我已经设置了我自己的ReactiveAuthenticationManager
public class CustomReactiveAuthenticationManager implements ReactiveAuthenticationManager
然后在 SecurityWebFilterChain 中:
.authenticationManager(this.authenticationManager)
但是,在此设置之后,我在执行器auditevents
端点中没有得到任何东西:
{"events":[]}
即使我使用自定义,我需要更改哪些内容才能获得审核事件ReactiveAuthenticationManager
?
解决方案
这不是您的自定义问题AuthenticationManager
。这是 Spring Security 的一个限制。在撰写本文时,使用反应式 Spring Security 时不会发布事件。此 Spring Security 问题中正在跟踪将消除限制的增强功能。
推荐阅读
- unity3d - 在 Oculus Quest build 7.0 上无法同时对两个控制器进行跟踪
- python - 如何将给定的字符串转换为数组?
- python - 我们在 OpenCV 和 Python 中有椭圆检测吗?
- python - 计算任何格式的电影剧本中每个角色说的单词数
- django - 在 django 问题中使用 AJAX 自动填充下拉列表
- javascript - 我可以使用 ASCII 检查密码是否由数字组成吗?
- python - Python For Loop using List - 尝试根据循环中使用的最后一个数字对数字对进行分组
- r - 闪亮的输入 - 如果全部选中,则显示所有数据并绘制汇总数据
- docker - 创建能够从容器注册表中提取的 docker 就绪计算引擎
- swift - 核心数据关系一对一