Shiro 基本组件配置

pom.xml


org.apache.shiro
shiro-spring
1.3.2



org.apache.shiro
shiro-ehcache
1.3.2


  4.0.0
  com.jt
  rootmanage
  0.0.1-SNAPSHOT
  war

        
            
                org.apache.maven.plugins
                maven-compiler-plugin
                3.5.1
                
                    1.8
                    1.8
                    UTF-8
                
            
        
    
    
        
            org.springframework
            spring-webmvc
            4.3.9.RELEASE
        
        
            mysql
            mysql-connector-java
            5.1.40
        
        
            com.alibaba
            druid
            1.0.29
        
        
            org.mybatis
            mybatis
            3.2.8
        
        
            org.mybatis
            mybatis-spring
            1.3.1
        
        
            com.fasterxml.jackson.core
            jackson-databind
            2.8.5
        
        
            org.springframework
            spring-jdbc
            4.3.9.RELEASE
        
        
            junit
            junit
            4.12
        
        
        
            org.apache.shiro
            shiro-spring
            1.3.2
        
        
        
            org.apache.shiro
            shiro-ehcache
            1.3.2
        
    

/rootmanage/src/main/resources/spring-configs.xml



    
    

/rootmanage/src/main/resources/spring-shiro.xml



      
         
       
       
       
        
        
        
        
        
            
                
                
                
                
                
                
                
            
        
       

web.xml



  rootmanage

    doIndexUI.do
  
  
  
    delegatingFilter
    org.springframework.web.filter.DelegatingFilterProxy
    
        targetBeanName
        shiroFilterFactory
    
  
  
    delegatingFilter
    /*
  
  
    
    
        DispatcherServlet
        org.springframework.web.servlet.DispatcherServlet
        
        
            contextConfigLocation
            classpath:spring-configs.xml
        
        
        1
    
    
    
        DispatcherServlet
        *.do
    

你可能感兴趣的:(Shiro 基本组件配置)