|
|
|
@ -12,7 +12,7 @@ import org.springframework.security.config.annotation.web.configuration.EnableWe |
|
|
|
@EnableGlobalMethodSecurity(prePostEnabled=true) |
|
|
|
@EnableGlobalMethodSecurity(prePostEnabled=true) |
|
|
|
public class SecurityConfig extends WebSecurityConfigurerAdapter { |
|
|
|
public class SecurityConfig extends WebSecurityConfigurerAdapter { |
|
|
|
@Autowired |
|
|
|
@Autowired |
|
|
|
public void registerGlobalAuthentication( |
|
|
|
public void configureGlobal( |
|
|
|
AuthenticationManagerBuilder auth) throws Exception { |
|
|
|
AuthenticationManagerBuilder auth) throws Exception { |
|
|
|
auth |
|
|
|
auth |
|
|
|
.inMemoryAuthentication() |
|
|
|
.inMemoryAuthentication() |
|
|
|
|