File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
main/java/org/springframework/security/config/web/server
test/java/org/springframework/security/config/web/server Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -3256,7 +3256,7 @@ protected void configure(ServerHttpSecurity http) {
3256
3256
X509PrincipalExtractor principalExtractor = getPrincipalExtractor ();
3257
3257
ServerAuthenticationConverter converter = getServerAuthenticationConverter (principalExtractor );
3258
3258
AuthenticationWebFilter filter = new AuthenticationWebFilter (authenticationManager );
3259
- filter .setServerAuthenticationConverter (serverAuthenticationConverter );
3259
+ filter .setServerAuthenticationConverter (converter );
3260
3260
http .addFilterAt (filter , SecurityWebFiltersOrder .AUTHENTICATION );
3261
3261
}
3262
3262
Original file line number Diff line number Diff line change @@ -504,7 +504,7 @@ public void x509WithConverterAndNoExtractorThenAddsX509Filter() {
504
504
this .http .x509 ((x509 ) -> x509 .serverAuthenticationConverter (mockConverter ));
505
505
SecurityWebFilterChain securityWebFilterChain = this .http .build ();
506
506
WebFilter x509WebFilter = securityWebFilterChain .getWebFilters ()
507
- .filter (filter -> matchesX509Converter (filter , mockConverter ))
507
+ .filter (( filter ) -> matchesX509Converter (filter , mockConverter ))
508
508
.blockFirst ();
509
509
assertThat (x509WebFilter ).isNotNull ();
510
510
}
You can’t perform that action at this time.
0 commit comments