package com.YuyeTech.HeartRate.config;

/**
 * @author:slambb
 * @date:2019/12/27
 */
//@Configuration
//public class WebConfig {
//
//    @Bean
//    public Filter AuthorizeFilter() {
//        return new AuthorizeFilter();
//    }
//
//
//    @Bean
//    public FilterRegistrationBean authorizeFilterRegistration() {
//        FilterRegistrationBean registration = new FilterRegistrationBean();
//        registration.setFilter(new DelegatingFilterProxy("AuthorizeFilter"));
//        registration.addUrlPatterns("/*");
//        registration.setName("AuthorizeFilter");
//        registration.setOrder(1);
//        return registration;
//    }
//
//}
