SEC-2365: registerAuthentication->configure

This commit is contained in:
Rob Winch
2013-10-16 13:59:56 -05:00
parent db3c626ac9
commit 348e3a22b6
42 changed files with 109 additions and 165 deletions

View File

@@ -74,7 +74,7 @@ import org.springframework.security.config.annotation.web.configuration.*;
public class SecurityConfig extends WebSecurityConfigurerAdapter {
@Autowired
public void registerGlobalAuthentication(AuthenticationManagerBuilder auth) throws Exception {
public void configureGlobal(AuthenticationManagerBuilder auth) throws Exception {
auth
.inMemoryAuthentication()
.withUser("user").password("password").roles("USER");