使用shiro進行登錄和退出

一.配置web.xml               這個在web.xml配置的過濾器只是啓動攔截請求的作用,真正處理請求是在spring配置的targetBeanName的值對應bean的id類 二.創建ApplicationContext-shiro.xml      如下:     1.shiro核心過濾器      <bean id="shiroFilter" class="org.apac
相關文章
相關標籤/搜索