Merge branch '6.2.x'

This commit is contained in:
Marcus Hert Da Coregio 2024-01-17 15:22:34 -03:00
commit a761042157
2 changed files with 2 additions and 2 deletions

View File

@ -200,7 +200,7 @@ If the `Authentication` contains a reference to an object in the cache (such as
You need to take this into account if you use a cache. You need to take this into account if you use a cache.
An obvious solution is to first make a copy of the object, either in the cache implementation or in the `AuthenticationProvider` that creates the returned `Authentication` object. An obvious solution is to first make a copy of the object, either in the cache implementation or in the `AuthenticationProvider` that creates the returned `Authentication` object.
Alternatively, you can disable the `eraseCredentialsAfterAuthentication` property on `ProviderManager`. Alternatively, you can disable the `eraseCredentialsAfterAuthentication` property on `ProviderManager`.
See the Javadoc for the {security-api-url}org/springframework/security/authentication/ProviderManager.html[Javadoc] class. See the Javadoc for the {security-api-url}org/springframework/security/authentication/ProviderManager.html[ProviderManager] class.
[[servlet-authentication-authenticationprovider]] [[servlet-authentication-authenticationprovider]]
== AuthenticationProvider == AuthenticationProvider