test_class.declarator: userDetailsService
test_class.modifier: private
test_class.original_string: private UserDetailsService userDetailsService;
test_class.type: UserDetailsService
test_class.var_name: userDetailsService
test_class.file: modules/flowable-spring-security/src/test/java/org/flowable/spring/security/FlowableUserDetailsServiceTest.java
test_class.identifier: FlowableUserDetailsServiceTest
test_class.superclass: extends PluggableFlowableIdmTestCase
test_case.body: @Test
      public void testLoadingUserShouldBeCaseSensitive() {
          assertThatThrownBy(() -> userDetailsService.loadUserByUsername("kErMiT"))
              .isInstanceOf(UsernameNotFoundException.class)
              .hasMessage("user (kErMiT) could not be found");
      }
test_case.class_method_signature: FlowableUserDetailsServiceTest.testLoadingUserShouldBeCaseSensitive()
test_case.full_signature: @Test public void testLoadingUserShouldBeCaseSensitive()
test_case.identifier: testLoadingUserShouldBeCaseSensitive
test_case.invocations: hasMessage isInstanceOf assertThatThrownBy loadUserByUsername
test_case.modifiers: @Test public
test_case.parameters: ()
test_case.return: void
test_case.signature: void testLoadingUserShouldBeCaseSensitive()
focal_class.declarator: identityService
focal_class.modifier: protected final
focal_class.original_string: protected final IdmIdentityService identityService;
focal_class.type: IdmIdentityService
focal_class.var_name: identityService
focal_class.file: modules/flowable-spring-security/src/main/java/org/flowable/spring/security/FlowableUserDetailsService.java
focal_class.identifier: FlowableUserDetailsService
focal_class.interfaces: implements UserDetailsService
focal_class.class_method_signature: FlowableUserDetailsService.FlowableUserDetailsService(IdmIdentityService identityService)
focal_class.full_signature: public  FlowableUserDetailsService(IdmIdentityService identityService)
focal_class.identifier: FlowableUserDetailsService
focal_class.modifiers: public
focal_class.parameters: (IdmIdentityService identityService)
focal_class.signature:  FlowableUserDetailsService(IdmIdentityService identityService)
focal_class.class_method_signature: FlowableUserDetailsService.loadUserByUsername(String userId)
focal_class.full_signature: @Override public UserDetails loadUserByUsername(String userId)
focal_class.identifier: loadUserByUsername
focal_class.modifiers: @Override public
focal_class.parameters: (String userId)
focal_class.return: UserDetails
focal_class.signature: UserDetails loadUserByUsername(String userId)
focal_class.class_method_signature: FlowableUserDetailsService.createFlowableUser(User user)
focal_class.full_signature: protected FlowableUser createFlowableUser(User user)
focal_class.identifier: createFlowableUser
focal_class.modifiers: protected
focal_class.parameters: (User user)
focal_class.return: FlowableUser
focal_class.signature: FlowableUser createFlowableUser(User user)
focal_method.body: @Override
      public UserDetails loadUserByUsername(String userId)
              throws UsernameNotFoundException {
          User user = null;
          try {
              user = this.identityService.createUserQuery()
                      .userId(userId)
                      .singleResult();
          } catch (FlowableException ex) {
              // don't care
          }
  
          if (null == user) {
              throw new UsernameNotFoundException(
                      String.format("user (%s) could not be found", userId));
          }
  
          return createFlowableUser(user);
      }
focal_method.class_method_signature: FlowableUserDetailsService.loadUserByUsername(String userId)
focal_method.full_signature: @Override public UserDetails loadUserByUsername(String userId)
focal_method.identifier: loadUserByUsername
focal_method.invocations: singleResult userId createUserQuery format createFlowableUser
focal_method.modifiers: @Override public
focal_method.parameters: (String userId)
focal_method.return: UserDetails
focal_method.signature: UserDetails loadUserByUsername(String userId)