package org.talend.dataprep.configuration;

import org.springframework.context.annotation.ComponentScan;
import org.springframework.context.annotation.FilterType;

/**
 * Class uses to have a have a single ComponentScan for all DataPrep spring applications.
 */
@ComponentScan( //
        value = { "org.talend.dataprep", "org.talend.daikon.content" }, //
        // Currently we have two controllers for the same entry point '/docs' one from daikon, another one from dataprep.
        // We filter the daikon one. It's a workaround before daikon documentation controller will be optional.
        excludeFilters = @ComponentScan.Filter( //
                value = org.talend.daikon.documentation.DocumentationController.class, //
                type = FilterType.ASSIGNABLE_TYPE //
        ) //
)
public class DataPrepComponentScanConfiguration {
}

@@ -342,16 +342,47 @@
 content%22
+,  %22org.talend.daikon.security%22
  %7D, //%0A 

fix missing scan for @RequiresAuthority aspect