@@ -0,0 +1,539 @@
+package security;%0A%0Aimport org.springframework.context.annotation.Configuration;%0Aimport org.springframework.web.servlet.config.annotation.ViewControllerRegistry;%0Aimport org.springframework.web.servlet.config.annotation.WebMvcConfigurerAdapter;%0A%0A@Configuration%0Apublic class MvcConfig extends WebMvcConfigurerAdapter %7B%0A%0A    @Override%0A    public void addViewControllers(ViewControllerRegistry registry) %7B%0A        registry.addViewController(%22/%22).setViewName(%22index%22);%0A        registry.addViewController(%22/login%22).setViewName(%22login%22);%0A    %7D%0A%0A%7D%0A

Configure home and login pages.