AuthorizedExchangeBuilder->AuthorizedExchangeSpec

Issue: gh-4822
This commit is contained in:
Rob Winch
2017-11-13 15:51:40 -06:00
parent d900f2a623
commit 53ddbfc0ab
3 changed files with 21 additions and 20 deletions

View File

@@ -26,7 +26,7 @@ import org.springframework.test.web.reactive.server.WebTestClient;
* @author Rob Winch
* @since 5.0
*/
public class AuthorizeExchangeBuilderTests {
public class AuthorizeExchangeSpecTests {
ServerHttpSecurity http = ServerHttpSecurityConfigurationBuilder.httpWithDefaultAuthentication();
@Test

View File

@@ -83,7 +83,7 @@ public class ServerHttpSecurityTests {
this.http.securityContextRepository(new WebSessionServerSecurityContextRepository());
this.http.httpBasic();
this.http.authenticationManager(this.authenticationManager);
ServerHttpSecurity.AuthorizeExchangeBuilder authorize = this.http.authorizeExchange();
ServerHttpSecurity.AuthorizeExchangeSpec authorize = this.http.authorizeExchange();
authorize.anyExchange().authenticated();
WebTestClient client = buildClient();