自定义登录form拦截器:org.apache.shiro.web.filter.authc.FormAuthenticationFilter
问题描述
使用shiro进行系统身份验证-权限控制,登录界面进行登录操作何时触发
boolean org.apache.shiro.web.filter.authc.AuthenticatingFilter.executeLogin(ServletRequest request, ServletResponse response) throws Exception方法?
问题分析
探知login.jsp的form与shiro form filter的识别认证规则需要查看org.apache.shiro.web.filter.authc.FormAuthenticationFilter中的源码。
第一、输入控件name命名: