From 3258782752763d360d3beecca15e583934c62e09 Mon Sep 17 00:00:00 2001 From: Calvin Date: Sun, 15 Apr 2012 19:08:46 +0800 Subject: [PATCH] =?UTF-8?q?fix=20case,=20Shiro=E5=B8=A6=E6=9D=A5=E7=9A=84A?= =?UTF-8?q?OP=E7=9A=84=E9=97=AE=E9=A2=98=E7=9C=9F=E5=A4=9A?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../mini-web/src/main/resources/applicationContext-shiro.xml | 4 +++- .../examples/showcase/common/service/AccountManager.java | 2 +- examples/showcase/src/main/resources/applicationContext.xml | 2 +- .../src/main/resources/security/applicationContext-shiro.xml | 4 +++- examples/showcase/src/main/webapp/WEB-INF/web.xml | 3 ++- 5 files changed, 10 insertions(+), 5 deletions(-) diff --git a/examples/mini-web/src/main/resources/applicationContext-shiro.xml b/examples/mini-web/src/main/resources/applicationContext-shiro.xml index 8804a7c7..f2b436d0 100644 --- a/examples/mini-web/src/main/resources/applicationContext-shiro.xml +++ b/examples/mini-web/src/main/resources/applicationContext-shiro.xml @@ -38,7 +38,9 @@ - + + + diff --git a/examples/showcase/src/main/java/org/springside/examples/showcase/common/service/AccountManager.java b/examples/showcase/src/main/java/org/springside/examples/showcase/common/service/AccountManager.java index 3b4e4c46..c75ea854 100644 --- a/examples/showcase/src/main/java/org/springside/examples/showcase/common/service/AccountManager.java +++ b/examples/showcase/src/main/java/org/springside/examples/showcase/common/service/AccountManager.java @@ -87,7 +87,7 @@ public class AccountManager { public List getAllUser() { if (applicationStatistics != null) { - applicationStatistics.incrUpdateUserTimes(); + applicationStatistics.incrListUserTimes(); } return (List) userJpaDao.findAll(); } diff --git a/examples/showcase/src/main/resources/applicationContext.xml b/examples/showcase/src/main/resources/applicationContext.xml index a4a2021d..a9efeb9d 100644 --- a/examples/showcase/src/main/resources/applicationContext.xml +++ b/examples/showcase/src/main/resources/applicationContext.xml @@ -57,7 +57,7 @@ - + diff --git a/examples/showcase/src/main/resources/security/applicationContext-shiro.xml b/examples/showcase/src/main/resources/security/applicationContext-shiro.xml index 07f0455a..d6043c08 100644 --- a/examples/showcase/src/main/resources/security/applicationContext-shiro.xml +++ b/examples/showcase/src/main/resources/security/applicationContext-shiro.xml @@ -45,7 +45,9 @@ - + + + diff --git a/examples/showcase/src/main/webapp/WEB-INF/web.xml b/examples/showcase/src/main/webapp/WEB-INF/web.xml index c215d025..526cbcba 100644 --- a/examples/showcase/src/main/webapp/WEB-INF/web.xml +++ b/examples/showcase/src/main/webapp/WEB-INF/web.xml @@ -44,6 +44,7 @@ JerseyServlet com.sun.jersey.spi.spring.container.servlet.SpringServlet + 2 JerseyServlet @@ -54,7 +55,7 @@ jolokia-agent org.jolokia.http.AgentServlet - 2 + 3 -- GitLab