code: @Bean
      @ConditionalOnProperty(prefix = "edison.ldap", name = "required-role")
      public FilterRegistrationBean<LdapRoleAuthenticationFilter> ldapRoleAuthenticationFilter(final LdapProperties ldapProperties) {
          FilterRegistrationBean<LdapRoleAuthenticationFilter> filterRegistration = new FilterRegistrationBean<>();
          filterRegistration.setFilter(new LdapRoleAuthenticationFilter(ldapProperties));
          filterRegistration.setOrder(Ordered.LOWEST_PRECEDENCE);
          ldapProperties.getPrefixes().forEach(prefix -> filterRegistration.addUrlPatterns(String.format("%s/*", prefix)));
          return filterRegistration;
      }
docs: Add an authentication filter that requires a certain LDAP role to access secured paths.
  All routes starting with the value of the {@code edison.ldap.prefixes} property will be secured by LDAP.
  If no property is set this will default to all routes starting with '/internal'.
  
  @param ldapProperties the properties used to configure LDAP
  @return FilterRegistrationBean