我正在尝试为登录页面创建一个注销选项。
AntPathRequestMatcher pathRequestMatcher = new AntPathRequestMatcher("/logout");
http.logout().logoutRequestMatcher(pathRequestMatcher);
由于在Spring Security 4.1.6中,org.springframework.security.web.util.AntPathRequestMatcher.AntPathRequestMatcher
已经被deprecated
,那么我应该使用哪个类呢?
org.springframework.security.web.util.AntPathRequestMatcher
时看到了它。 - Dil.4.1.6.RELEASE
。 - Dil.