code: @SuppressWarnings("deprecation")
      @Bean
      public UserDetailsService userDetailsService() {
          InMemoryUserDetailsManager manager = new InMemoryUserDetailsManager();
          manager.createUser(User.withDefaultPasswordEncoder().username("demo").password("demo").roles("ACTUATOR", "camunda-admin").build());
          manager.createUser(User.withDefaultPasswordEncoder().username("john").password("john").roles("camunda-user").build());
          return manager;
      }
docs: In real world scenarios, this would be replaced by the actual IAM solution