更新shiro

pull/26/head
naan1993 2017-09-05 21:16:28 +08:00
parent 91705cf2cc
commit bf1a20eb6d
2 changed files with 8 additions and 4 deletions

View File

@ -81,6 +81,10 @@
</exclusion>
</exclusions>
</dependency>
<dependency>
<groupId>org.ehcache</groupId>
<artifactId>ehcache</artifactId>
</dependency>
<!-- 需要分布式session的话需要放开注释
<dependency>
@ -96,10 +100,6 @@
<groupId>com.github.penggle</groupId>
<artifactId>kaptcha</artifactId>
</dependency>
<dependency>
<groupId>org.ehcache</groupId>
<artifactId>ehcache</artifactId>
</dependency>
<dependency>
<groupId>com.google.zxing</groupId>
<artifactId>core</artifactId>

View File

@ -142,6 +142,10 @@ public class ShiroConfig {
* authc
* user RememberMe
*
* rememberMe,访user,authc,authc
*
* ,
*
*/
Map<String, String> hashMap = new LinkedHashMap<>();
hashMap.put("/static/**", "anon");