Browse Source

Fix typo UserDetailService -> UserDetailsService

Eleftheria Stein 4 years ago
parent
commit
5661e06e9c

+ 1 - 1
config/src/main/java/org/springframework/security/config/authentication/AuthenticationProviderBeanDefinitionParser.java

@@ -74,7 +74,7 @@ public class AuthenticationProviderBeanDefinitionParser implements BeanDefinitio
 			else {
 			else {
 				pc.getReaderContext().error("A user-service is required", element);
 				pc.getReaderContext().error("A user-service is required", element);
 			}
 			}
-			// Pinch the cache-ref from the UserDetailService element, if set.
+			// Pinch the cache-ref from the UserDetailsService element, if set.
 			String cacheRef = userServiceElt.getAttribute(AbstractUserDetailsServiceBeanDefinitionParser.CACHE_REF);
 			String cacheRef = userServiceElt.getAttribute(AbstractUserDetailsServiceBeanDefinitionParser.CACHE_REF);
 
 
 			if (StringUtils.hasText(cacheRef)) {
 			if (StringUtils.hasText(cacheRef)) {

+ 1 - 1
web/src/main/java/org/springframework/security/web/authentication/switchuser/SwitchUserFilter.java

@@ -371,7 +371,7 @@ public class SwitchUserFilter extends GenericFilterBean implements ApplicationEv
 
 
 	/**
 	/**
 	 * Sets the authentication data access object.
 	 * Sets the authentication data access object.
-	 * @param userDetailsService The <tt>UserDetailService</tt> which will be used to load
+	 * @param userDetailsService The <tt>UserDetailsService</tt> which will be used to load
 	 * information for the user that is being switched to.
 	 * information for the user that is being switched to.
 	 */
 	 */
 	public void setUserDetailsService(UserDetailsService userDetailsService) {
 	public void setUserDetailsService(UserDetailsService userDetailsService) {

+ 2 - 2
web/src/main/java/org/springframework/security/web/server/authentication/SwitchUserWebFilter.java

@@ -115,7 +115,7 @@ public class SwitchUserWebFilter implements WebFilter {
 
 
 	/**
 	/**
 	 * Creates a filter for the user context switching
 	 * Creates a filter for the user context switching
-	 * @param userDetailsService The <tt>UserDetailService</tt> which will be used to load
+	 * @param userDetailsService The <tt>UserDetailsService</tt> which will be used to load
 	 * information for the user that is being switched to.
 	 * information for the user that is being switched to.
 	 * @param successHandler Used to define custom behaviour on a successful switch or
 	 * @param successHandler Used to define custom behaviour on a successful switch or
 	 * exit user.
 	 * exit user.
@@ -135,7 +135,7 @@ public class SwitchUserWebFilter implements WebFilter {
 
 
 	/**
 	/**
 	 * Creates a filter for the user context switching
 	 * Creates a filter for the user context switching
-	 * @param userDetailsService The <tt>UserDetailService</tt> which will be used to load
+	 * @param userDetailsService The <tt>UserDetailsService</tt> which will be used to load
 	 * information for the user that is being switched to.
 	 * information for the user that is being switched to.
 	 * @param successTargetUrl Sets the URL to go to after a successful switch / exit user
 	 * @param successTargetUrl Sets the URL to go to after a successful switch / exit user
 	 * request
 	 * request