@Configuration
@Order(value=-2147483648)
@EnableGlobalMethodSecurity(prePostEnabled=true)
public class GlobalSecurityConfig
extends org.springframework.security.config.annotation.authentication.configurers.GlobalAuthenticationConfigurerAdapter
| Constructor and Description |
|---|
GlobalSecurityConfig() |
| Modifier and Type | Method and Description |
|---|---|
void |
init(org.springframework.security.config.annotation.authentication.builders.AuthenticationManagerBuilder auth)
This is a workaround to avoid generating default password as an
InMemoryAuthentication
manager is already configured in WebSecurityConfig. |
public void init(org.springframework.security.config.annotation.authentication.builders.AuthenticationManagerBuilder auth)
throws Exception
InMemoryAuthentication
manager is already configured in WebSecurityConfig.init in interface org.springframework.security.config.annotation.SecurityConfigurer<org.springframework.security.authentication.AuthenticationManager,org.springframework.security.config.annotation.authentication.builders.AuthenticationManagerBuilder>init in class org.springframework.security.config.annotation.authentication.configurers.GlobalAuthenticationConfigurerAdapterExceptionCopyright © 2018 Walmart, Inc.. All rights reserved.