mirror of
https://github.com/spring-projects/spring-framework.git
synced 2026-09-23 22:51:17 +00:00
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