This commit is contained in:
Phillip Webb 2014-11-01 19:46:04 -07:00
parent b20d02a31d
commit 8ba71c88f5
2 changed files with 6 additions and 6 deletions

View File

@ -207,7 +207,7 @@ public class AuthenticationManagerConfiguration extends
@Override
public Authentication authenticate(Authentication authentication)
throws AuthenticationException {
return builder.getOrBuild().authenticate(authentication);
return this.builder.getOrBuild().authenticate(authentication);
}
}

View File

@ -16,11 +16,6 @@
package org.springframework.boot.autoconfigure.security;
import static org.junit.Assert.assertEquals;
import static org.junit.Assert.assertNotNull;
import static org.junit.Assert.assertTrue;
import static org.junit.Assert.fail;
import java.util.List;
import java.util.concurrent.atomic.AtomicReference;
@ -57,6 +52,11 @@ import org.springframework.security.web.FilterChainProxy;
import org.springframework.security.web.SecurityFilterChain;
import org.springframework.web.context.support.AnnotationConfigWebApplicationContext;
import static org.junit.Assert.assertEquals;
import static org.junit.Assert.assertNotNull;
import static org.junit.Assert.assertTrue;
import static org.junit.Assert.fail;
/**
* Tests for {@link SecurityAutoConfiguration}.
*