spring-security安全框架的整理(以及与spring的整合)

spring-security安全框架的整理(以及与spring的整合)

spring-security.xml


	

    
    
    
    

    
    
    

	
	
    
    
    
    
        
        
        
    

    
    
        
        

        
        
		
		
        
        
		
        
        
		
    


web.xml中的增加spring-security配置文件监听器+委派过滤器

	
	
    ssm02_web

    
    
        contextConfigLocation
        classpath*:spring/applicationContext-*.xml,classpath:spring/spring-security.xml
    
    
        org.springframework.web.context.ContextLoaderListener
    

    
    
        DispatcherServlet
        org.springframework.web.servlet.DispatcherServlet
        
        
            contextConfigLocation
            classpath:spring/springMVC.xml
        
        
        1
    
    
        DispatcherServlet
        /
    
    
    
        CharacterEncodingFilter
        org.springframework.web.filter.CharacterEncodingFilter
        
            encoding
            UTF-8
        
    

    
    
        springSecurityFilterChain
        org.springframework.web.filter.DelegatingFilterProxy
    

    
        CharacterEncodingFilter
        /*
    



    
        springSecurityFilterChain
        /*
    


    
        index.html
        index.htm
        index.jsp
        default.html
        default.htm
        default.jsp
    

你可能感兴趣的:(技能点,技能点加持)