mirror of
https://github.com/spring-projects/spring-security.git
synced 2025-07-16 07:13:30 +00:00
Add OAuth2ClientSpec.and
Fixes: gh-5888
This commit is contained in:
parent
73c1abbba0
commit
8a49c431c3
@ -804,6 +804,14 @@ public class ServerHttpSecurity {
|
|||||||
return this;
|
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) {
|
protected void configure(ServerHttpSecurity http) {
|
||||||
ReactiveClientRegistrationRepository clientRegistrationRepository = getClientRegistrationRepository();
|
ReactiveClientRegistrationRepository clientRegistrationRepository = getClientRegistrationRepository();
|
||||||
ServerOAuth2AuthorizedClientRepository authorizedClientRepository = getAuthorizedClientRepository();
|
ServerOAuth2AuthorizedClientRepository authorizedClientRepository = getAuthorizedClientRepository();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user