资 源 简 介
shiro配置(jeecms/WebRoot/WEB-INF/config/shiro-context.xml)1.在地址栏中输入http://*.*.*.*:****/admin/cms/login.do,由上图可看出进入CmsAuthenticationFilter过滤器中,执行onPreHandle方法,跳转到登录界面(解释如下)isAccessAllowed 只要当前用户已经过认证就直接返回true,未认证返回falseonAccessDenied方法具体实现内容protected boolean onAccessDenied(ServletRequest request, ServletResponse response) throws Exception { if (isLoginRequest(request, response)) { //判断是否是登录请求 if (isLoginSubmission(request, response)) { //&