Class SwitchUserDetailsServiceUserDetailsService
java.lang.Object
com.flowable.core.spring.security.switchuser.SwitchUserDetailsServiceUserDetailsService
- All Implemented Interfaces:
UserDetailsService
public class SwitchUserDetailsServiceUserDetailsService
extends Object
implements UserDetailsService
- Author:
- Filip Hrisafov
-
Field Summary
-
Constructor Summary
ConstructorDescriptionSwitchUserDetailsServiceUserDetailsService
(Collection<SwitchUserDetailsService> userDetailsServices) -
Method Summary
Modifier and TypeMethodDescriptionloadUserByUsername
(String username) protected UserDetails
loadUserByUsername
(Authentication originalAuthentication, String username)
-
Field Details
-
userDetailsServices
-
-
Constructor Details
-
SwitchUserDetailsServiceUserDetailsService
public SwitchUserDetailsServiceUserDetailsService(Collection<SwitchUserDetailsService> userDetailsServices)
-
-
Method Details
-
loadUserByUsername
- Specified by:
loadUserByUsername
in interfaceUserDetailsService
- Throws:
UsernameNotFoundException
-
loadUserByUsername
-