package com.tymiller;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;

@SpringBootApplication
public class PhotableBackendApplication {

	public static void main(String[] args) {
		SpringApplication.run(PhotableBackendApplication.class, args);
	}
}

@@ -140,73 +140,489 @@
 on;%0A
-%0A@SpringBootApplication%0Apublic class PhotableBackendApplication %7B
+import org.springframework.boot.web.servlet.FilterRegistrationBean;%0Aimport org.springframework.context.annotation.Bean;%0A%0Aimport com.tymiller.config.JwtFilter;%0A%0A@SpringBootApplication%0Apublic class PhotableBackendApplication %7B%0A%09%0A%09@Bean%0A%09public FilterRegistrationBean jwtFilter() %7B%0A%09%09final FilterRegistrationBean registrationBean = new FilterRegistrationBean();%0A%09%09registrationBean.setFilter(new JwtFilter());%0A%09%09registrationBean.addUrlPatterns(%22/rest/*%22);%0A%09%09return registrationBean;%0A%09%7D
 %0A%0A%09p

add registration filter