mirror of
https://github.com/spring-projects/spring-framework
synced 2026-06-08 17:33:33 +00:00
3e41f5e6b6
Prior to this commit, the Basic Authentication credentials were encoded for each request. This commit addresses this minor performance issue by caching the encoded credentials in BasicAuthenticationInterceptor. In addition, this commit introduces new encodeBasicAuth() and setBasicAuth(String encodedCredentials) methods in HttpHeaders to support this feature. Closes gh-23204