SEC-2789: Polish
Remove unnecessary "extends WebSecurityConfigurerAdapter"
This commit is contained in:
parent
1677836d53
commit
8b1f5f7cd7
|
@ -7,7 +7,7 @@ import org.springframework.security.config.annotation.web.configuration.WebSecur
|
|||
import org.springframework.security.config.annotation.web.configuration.EnableWebSecurity;
|
||||
|
||||
@EnableWebSecurity
|
||||
public class SecurityConfig extends WebSecurityConfigurerAdapter {
|
||||
public class SecurityConfig {
|
||||
|
||||
@Autowired
|
||||
public void registerGlobalAuthentication(
|
||||
|
|
|
@ -7,7 +7,7 @@ import org.springframework.security.config.annotation.web.configuration.WebSecur
|
|||
import org.springframework.security.config.annotation.web.configuration.EnableWebSecurity;
|
||||
|
||||
@EnableWebSecurity
|
||||
public class SecurityConfig extends WebSecurityConfigurerAdapter {
|
||||
public class SecurityConfig {
|
||||
|
||||
@Autowired
|
||||
public void registerGlobalAuthentication(
|
||||
|
|
|
@ -10,7 +10,7 @@ import org.springframework.security.config.annotation.web.configuration.WebSecur
|
|||
import org.springframework.security.config.annotation.web.configuration.EnableWebSecurity;
|
||||
|
||||
@EnableWebSecurity
|
||||
public class SecurityConfig extends WebSecurityConfigurerAdapter {
|
||||
public class SecurityConfig {
|
||||
@Autowired
|
||||
private DataSource dataSource;
|
||||
|
||||
|
|
|
@ -7,7 +7,7 @@ import org.springframework.security.config.annotation.web.configuration.WebSecur
|
|||
import org.springframework.security.config.annotation.web.configuration.EnableWebSecurity;
|
||||
|
||||
@EnableWebSecurity
|
||||
public class SecurityConfig extends WebSecurityConfigurerAdapter {
|
||||
public class SecurityConfig {
|
||||
@Autowired
|
||||
public void registerGlobalAuthentication(
|
||||
AuthenticationManagerBuilder auth) throws Exception {
|
||||
|
|
Loading…
Reference in New Issue