import org.springframework.social.connect.UsersConnectionRepository;
import org.springframework.web.servlet.config.annotation.EnableWebMvc;
import org.springframework.web.servlet.config.annotation.InterceptorRegistry;
+import org.springframework.web.servlet.config.annotation.ViewControllerRegistry;
import org.springframework.web.servlet.config.annotation.WebMvcConfigurerAdapter;
{
registry.addInterceptor(new UserCookieInterceptor(usersConnectionRepository));
}
+
+ /**
+ * {@inheritDoc}
+ */
+ @Override
+ public void addViewControllers(ViewControllerRegistry registry)
+ {
+ // Configure the view /thymeleaf/signin.html for the path /signin.html
+ registry.addViewController("/signin.html");
+ }
}