From 3346f2dd73e4dcac53f3d56888c0303824200974 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andreas=20B=C3=BCchel?= <71817641+andreasbuechel@users.noreply.github.com> Date: Tue, 9 Jan 2024 16:48:26 +0100 Subject: [PATCH 1/2] fix typo in anonymous.adoc --- docs/modules/ROOT/pages/servlet/authentication/anonymous.adoc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/modules/ROOT/pages/servlet/authentication/anonymous.adoc b/docs/modules/ROOT/pages/servlet/authentication/anonymous.adoc index 8485b2e9b6..2ac5d4783c 100644 --- a/docs/modules/ROOT/pages/servlet/authentication/anonymous.adoc +++ b/docs/modules/ROOT/pages/servlet/authentication/anonymous.adoc @@ -22,7 +22,7 @@ Classes can be authored more robustly if they know the `SecurityContextHolder` a [[anonymous-config]] == Configuration -Anonymous authentication support is provided automatically when you use the HTTP configuration (introduced inSpring Security 3.0). +Anonymous authentication support is provided automatically when you use the HTTP configuration (introduced in Spring Security 3.0). You can customize (or disable) it by using the `` element. You need not configure the beans described here unless you are using traditional bean configuration. From 237dd7799f05c288f094e66e031c9ee31513a52e Mon Sep 17 00:00:00 2001 From: Amit Mahato Date: Sat, 13 Jan 2024 22:49:01 +0545 Subject: [PATCH 2/2] fix: typo in Authentication Architecture ProviderManager --- .../modules/ROOT/pages/servlet/authentication/architecture.adoc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/modules/ROOT/pages/servlet/authentication/architecture.adoc b/docs/modules/ROOT/pages/servlet/authentication/architecture.adoc index ed8542a607..725fd46d7e 100644 --- a/docs/modules/ROOT/pages/servlet/authentication/architecture.adoc +++ b/docs/modules/ROOT/pages/servlet/authentication/architecture.adoc @@ -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. 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`. -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]] == AuthenticationProvider