//package kr.co.uplus.ez.config.filter;
//
//import org.springframework.boot.web.servlet.FilterRegistrationBean;
//import org.springframework.context.annotation.Bean;
//import org.springframework.context.annotation.Configuration;
//
//@Configuration
//public class WebFilterConfig {
//
//    @Bean
//    public FilterRegistrationBean<XssPreventFilter> getFilterRegistrationBean() throws Exception{
//        FilterRegistrationBean<XssPreventFilter> registrationBean = new FilterRegistrationBean<>();
//        registrationBean.setFilter(new XssPreventFilter());
//        registrationBean.setOrder(1);
//        registrationBean.addUrlPatterns("/*");
//        return registrationBean;
//    }
//
//}
