Add OAuth2LoginSpec.and()

Fixes: gh-5609
This commit is contained in:
Rob Winch 2018-07-30 12:07:51 -05:00
parent a01dc3a5f6
commit 6d0369647b
1 changed files with 9 additions and 0 deletions

View File

@ -377,6 +377,15 @@ public class ServerHttpSecurity {
return this;
}
/**
* Allows method chaining to continue configuring the {@link ServerHttpSecurity}
* @return the {@link ServerHttpSecurity} to continue configuring
*/
public ServerHttpSecurity and() {
return ServerHttpSecurity.this;
}
protected void configure(ServerHttpSecurity http) {
ReactiveClientRegistrationRepository clientRegistrationRepository = getClientRegistrationRepository();
ReactiveOAuth2AuthorizedClientService authorizedClientService = getAuthorizedClientService();