摘要:
一般来说,都要一个ShiroConfig类(名字因人而异)来配置下shiro,直接上代码 @Configuration public class ShiroConfig { /** * ShiroFilterFactoryBean 处理拦截资源文件问题。 * 注意:单独一个ShiroFilterFa 阅读全文
posted @ 2020-02-11 17:03
听惊雷
阅读(299)
评论(0)
推荐(0)
摘要:
第一 SetApplicationContext(需要继承ApplicationContextAware)重写 第二 ContextInitialize(需要继承servleContet)重写,(contextDestroyed也会重写) 阅读全文
posted @ 2020-02-11 16:32
听惊雷
阅读(338)
评论(0)
推荐(0)

浙公网安备 33010602011771号