Consistent configureGlobal in samples
This commit is contained in:
@@ -12,7 +12,7 @@ import org.springframework.security.config.annotation.web.configuration.EnableWe
|
||||
@EnableGlobalMethodSecurity(prePostEnabled=true)
|
||||
public class SecurityConfig extends WebSecurityConfigurerAdapter {
|
||||
@Autowired
|
||||
public void registerGlobalAuthentication(
|
||||
public void configureGlobal(
|
||||
AuthenticationManagerBuilder auth) throws Exception {
|
||||
auth
|
||||
.inMemoryAuthentication()
|
||||
|
||||
@@ -26,7 +26,7 @@ public class SecurityConfig extends WebSecurityConfigurerAdapter {
|
||||
}
|
||||
|
||||
@Autowired
|
||||
public void registerGlobalAuthentication(
|
||||
public void configureGlobal(
|
||||
AuthenticationManagerBuilder auth) throws Exception {
|
||||
auth
|
||||
.inMemoryAuthentication()
|
||||
|
||||
@@ -10,7 +10,7 @@ import org.springframework.security.config.annotation.web.configuration.EnableWe
|
||||
public class SecurityConfig {
|
||||
|
||||
@Autowired
|
||||
public void registerGlobalAuthentication(
|
||||
public void configureGlobal(
|
||||
AuthenticationManagerBuilder auth) throws Exception {
|
||||
auth
|
||||
.inMemoryAuthentication()
|
||||
|
||||
@@ -9,7 +9,7 @@ import org.springframework.security.config.annotation.web.configuration.EnableWe
|
||||
public class SecurityConfig {
|
||||
|
||||
@Autowired
|
||||
public void registerGlobalAuthentication(
|
||||
public void configureGlobal(
|
||||
AuthenticationManagerBuilder auth) throws Exception {
|
||||
auth
|
||||
.inMemoryAuthentication()
|
||||
|
||||
@@ -10,7 +10,7 @@ import org.springframework.security.config.annotation.web.configuration.EnableWe
|
||||
public class SecurityConfig {
|
||||
|
||||
@Autowired
|
||||
public void registerGlobalAuthentication(
|
||||
public void configureGlobal(
|
||||
AuthenticationManagerBuilder auth) throws Exception {
|
||||
auth
|
||||
.inMemoryAuthentication()
|
||||
|
||||
@@ -9,7 +9,7 @@ import org.springframework.security.config.annotation.web.configuration.EnableWe
|
||||
@EnableWebSecurity
|
||||
public class SecurityConfig {
|
||||
@Autowired
|
||||
public void registerGlobalAuthentication(
|
||||
public void configureGlobal(
|
||||
AuthenticationManagerBuilder auth) throws Exception {
|
||||
auth
|
||||
.ldapAuthentication()
|
||||
|
||||
@@ -11,7 +11,7 @@ import org.springframework.security.config.annotation.web.configuration.EnableWe
|
||||
public class SecurityConfig extends WebSecurityConfigurerAdapter {
|
||||
|
||||
@Autowired
|
||||
public void registerGlobalAuthentication(
|
||||
public void configureGlobal(
|
||||
AuthenticationManagerBuilder auth) throws Exception {
|
||||
auth
|
||||
.inMemoryAuthentication()
|
||||
|
||||
Reference in New Issue
Block a user