Consistent configureGlobal in samples

This commit is contained in:
Rob Winch 2014-12-10 17:02:22 -06:00
parent 8b1f5f7cd7
commit a36c4bcb04
7 changed files with 7 additions and 7 deletions

View File

@ -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()

View File

@ -26,7 +26,7 @@ public class SecurityConfig extends WebSecurityConfigurerAdapter {
}
@Autowired
public void registerGlobalAuthentication(
public void configureGlobal(
AuthenticationManagerBuilder auth) throws Exception {
auth
.inMemoryAuthentication()

View File

@ -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()

View File

@ -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()

View File

@ -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()

View File

@ -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()

View File

@ -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()