Skip to content

RestTemplate POST to endpoint using Digest Auth no longer works in 6.1 #31516

Closed
@nwholloway

Description

@nwholloway

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 from 6.1.0-RC2 to 6.0.13 the expected 200 response is received.

Metadata

Metadata

Assignees

Labels

in: webIssues in web modules (web, webmvc, webflux, websocket)type: regressionA bug that is also a regression

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions