自定义Access配置
tengfei666666 opened this issue · 1 comments
tengfei666666 commented
我自定义access无论返回的是true还是false都不能进入控制器,不知道为什么,请大佬们指点一下!
@Override
public void configure(HttpSecurity http) throws Exception {
http.authorizeRequests()
.anyRequest().access("@myAccessServiceImpl.test(request,authentication)");
// 自定义Access配置
}
spencergibb commented
Please ask in the spring security project