使用 Spring Security preauthentication
,我的 Web 应用程序/login_disabled.html
在点击InsufficientAuthenticationException
.
applicationContext-security-preauth.xml 示例
<beans:property name="exceptionMappings">
<beans:props>
<beans:prop key="org.springframework.security.
InsufficientAuthenticationException">
/login_disabled.html
根据这篇文章,似乎我应该能够重新引导用户再次登录。
我只需要将用户重定向到负责身份验证的网页吗?