Hi, Im using LDAP plugin for Camunda cockpit login, however I would like to secure Camunda rest api with LDAP as well, how can I do that? I tired to create a custom authentication filter and register it, but this did not work, all requests are going through. Are there any examples?
@Bean
public FilterRegistrationBean<Filter> processEngineAuthenticationFilter() {
FilterRegistrationBean<Filter> registration = new FilterRegistrationBean<>();
registration.setName("camunda-auth");
registration.setFilter(gemMyCustomFilter());
registration.addUrlPatterns("/rest/*");
registration.setOrder(1);
return registration;
}