Back to project page SymptomManagement.
The source code is released under:
Apache License
If you think the Android project SymptomManagement listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.
package com.coursera.capstone.checkin; /* w w w .java2 s. co m*/ import org.springframework.context.annotation.ComponentScan; import org.springframework.context.annotation.Configuration; import org.springframework.web.servlet.config.annotation.EnableWebMvc; import org.springframework.web.servlet.config.annotation.InterceptorRegistry; import org.springframework.web.servlet.config.annotation.WebMvcConfigurerAdapter; import com.coursera.capstone.interceptor.AuthorizationInterceptor; @Configuration @ComponentScan @EnableWebMvc public class Application extends WebMvcConfigurerAdapter { // We do not have the typical main method because we need // the Maven AppEngine plugin to launch / configure the // development server. However, we are still using this // class to define configuration information. @Override public void addInterceptors(InterceptorRegistry registry) { registry.addInterceptor(new AuthorizationInterceptor()).addPathPatterns("/**"); } }