RestTemplate
POST to endpoint using Digest Auth no longer works in 6.1
#31516
Labels
in: web
Issues in web modules (web, webmvc, webflux, websocket)
type: regression
A bug that is also a regression
Milestone
In Spring Web 6.0.13, with Apache HttpClient configured to provide credentials, posting a
MultiValueMap
to an endpoint protected using Digest Authentication works.When Spring Web 6.1.0-RC2 is used, instead of responding to the authentication challenge, the 401 response is returned to the caller.
Demo repository: https://github.com/nwholloway/spring-web-bug
This contains a Docker Compose configuration to provide digest auth secured endpoint, and the demonstration Java code.
If you change the Spring Web version in
build.gradle
from6.1.0-RC2
to 6.0.13 the expected 200 response is received.The text was updated successfully, but these errors were encountered: