瀏覽代碼

修改过滤器顺序

shuzheng 9 年之前
父節點
當前提交
93dd3880b7
共有 1 個文件被更改,包括 5 次插入4 次删除
  1. 5 4
      zheng-upms/zheng-upms-server/src/main/resources/applicationContext-shiro.xml

+ 5 - 4
zheng-upms/zheng-upms-server/src/main/resources/applicationContext-shiro.xml

@@ -19,11 +19,12 @@
         </property>
         <property name="filterChainDefinitions">
             <value>
-                /swagger-ui.html = user
-                /druid/** = user
+                /manage/** = upmsSessionForceLogout,authc
                 /manage/index = user
-                /manage/** = authc
-                /** = upmsSessionForceLogout,anon
+                /druid/** = user
+                /swagger-ui.html = user
+                /resources/** = anon
+                /** = anon
             </value>
         </property>
     </bean>