Class FlowablePlatformUserDetailsService
- java.lang.Object
-
- com.flowable.core.spring.security.FlowablePlatformUserDetailsService
-
- All Implemented Interfaces:
UserDetailsService
public class FlowablePlatformUserDetailsService extends Object implements UserDetailsService
- Author:
- Filip Hrisafov
-
-
Field Summary
Fields Modifier and Type Field Description protected PlatformIdentityService
identityService
protected UserDefinitionAuthoritiesProvider
userDefinitionAuthoritiesProvider
-
Constructor Summary
Constructors Constructor Description FlowablePlatformUserDetailsService(PlatformIdentityService identityService, UserDefinitionAuthoritiesProvider userDefinitionAuthoritiesProvider)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected UserDetails
createUserDetails(PlatformUser platformUser)
UserDetails
loadUserByUsername(String userId)
-
-
-
Field Detail
-
identityService
protected final PlatformIdentityService identityService
-
userDefinitionAuthoritiesProvider
protected final UserDefinitionAuthoritiesProvider userDefinitionAuthoritiesProvider
-
-
Constructor Detail
-
FlowablePlatformUserDetailsService
public FlowablePlatformUserDetailsService(PlatformIdentityService identityService, UserDefinitionAuthoritiesProvider userDefinitionAuthoritiesProvider)
-
-
Method Detail
-
loadUserByUsername
public UserDetails loadUserByUsername(String userId) throws UsernameNotFoundException
- Specified by:
loadUserByUsername
in interfaceUserDetailsService
- Throws:
UsernameNotFoundException
-
createUserDetails
protected UserDetails createUserDetails(PlatformUser platformUser)
-
-