摘要:
原始的web.xml里有4个配置,上篇文章已经把springmvc的解决了 1. spring redis session的filter 2. shiro的filter 3. 编码字符集filter 4. 和一个监听器 代码如下,其中第1,3,4个默认已经集成,不需要再配置, <?xml versi 阅读全文
摘要:
上篇中,因为ehcache的单例原因,这里提供了另外一种方法。 用redis作为 shiro的密码凭证器的记载体。 package cn.taotao.shiro.service; import java.io.IOException; import java.text.SimpleDateForm 阅读全文