mirror of
https://github.com/spring-projects/spring-security.git
synced 2025-05-31 01:02:14 +00:00
Fix typo UserDetailService -> UserDetailsService
This commit is contained in:
parent
4515c86beb
commit
5661e06e9c
@ -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)) {
|
||||
|
@ -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) {
|
||||
|
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user