Fix typo UserDetailService -> UserDetailsService

This commit is contained in:
Eleftheria Stein 2020-11-09 13:13:32 +01:00
parent 4515c86beb
commit 5661e06e9c
3 changed files with 4 additions and 4 deletions

View File

@ -74,7 +74,7 @@ public class AuthenticationProviderBeanDefinitionParser implements BeanDefinitio
else {
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);
if (StringUtils.hasText(cacheRef)) {

View File

@ -371,7 +371,7 @@ public class SwitchUserFilter extends GenericFilterBean implements ApplicationEv
/**
* 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.
*/
public void setUserDetailsService(UserDetailsService userDetailsService) {

View File

@ -115,7 +115,7 @@ public class SwitchUserWebFilter implements WebFilter {
/**
* 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.
* @param successHandler Used to define custom behaviour on a successful switch or
* exit user.
@ -135,7 +135,7 @@ public class SwitchUserWebFilter implements WebFilter {
/**
* 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.
* @param successTargetUrl Sets the URL to go to after a successful switch / exit user
* request