From d4f6acd14ea9d75cf808925174d14859c26b46c1 Mon Sep 17 00:00:00 2001 From: qi_liang Date: Wed, 22 May 2019 17:05:53 +0800 Subject: [PATCH] =?UTF-8?q?druid=20=E7=94=A8shrio=E7=9A=84=E6=9D=83?= =?UTF-8?q?=E9=99=90=E6=8E=A7=E5=88=B6=E6=89=98=E7=AE=A1?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/main/resources/spring/spring-shiro.xml | 1 + src/main/webapp/WEB-INF/web.xml | 3 ++- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/src/main/resources/spring/spring-shiro.xml b/src/main/resources/spring/spring-shiro.xml index e3ed143..0cba128 100644 --- a/src/main/resources/spring/spring-shiro.xml +++ b/src/main/resources/spring/spring-shiro.xml @@ -112,6 +112,7 @@ /cms/login/** = anon /cms/index = authc /cms/** = authc + /druid/** = perms["/druid:SELECT"] diff --git a/src/main/webapp/WEB-INF/web.xml b/src/main/webapp/WEB-INF/web.xml index 86335d8..84cfb21 100644 --- a/src/main/webapp/WEB-INF/web.xml +++ b/src/main/webapp/WEB-INF/web.xml @@ -87,7 +87,7 @@ true - + DruidStatView