Replace usage of WebMvcConfigurerAdapter
Closes gh-8964
This commit is contained in:
@@ -19,11 +19,11 @@ package sample.web.secure.github;
|
||||
import org.springframework.boot.SpringApplication;
|
||||
import org.springframework.boot.autoconfigure.SpringBootApplication;
|
||||
import org.springframework.boot.autoconfigure.security.oauth2.client.EnableOAuth2Sso;
|
||||
import org.springframework.web.servlet.config.annotation.WebMvcConfigurerAdapter;
|
||||
import org.springframework.web.servlet.config.annotation.WebMvcConfigurer;
|
||||
|
||||
@SpringBootApplication
|
||||
@EnableOAuth2Sso
|
||||
public class SampleGithubSecureApplication extends WebMvcConfigurerAdapter {
|
||||
public class SampleGithubSecureApplication implements WebMvcConfigurer {
|
||||
|
||||
public static void main(String[] args) throws Exception {
|
||||
SpringApplication.run(SampleGithubSecureApplication.class, args);
|
||||
|
||||
Reference in New Issue
Block a user