Class DlsFlsValveImpl

  • All Implemented Interfaces:
    com.floragunn.searchguard.configuration.DlsFlsRequestValve

    public class DlsFlsValveImpl
    extends Object
    implements com.floragunn.searchguard.configuration.DlsFlsRequestValve
    • Nested Class Summary

      • Nested classes/interfaces inherited from interface com.floragunn.searchguard.configuration.DlsFlsRequestValve

        com.floragunn.searchguard.configuration.DlsFlsRequestValve.NoopDlsFlsRequestValve
    • Constructor Summary

      Constructors 
      Constructor Description
      DlsFlsValveImpl()  
    • Constructor Detail

      • DlsFlsValveImpl

        public DlsFlsValveImpl()
    • Method Detail

      • invoke

        public boolean invoke​(org.elasticsearch.action.ActionRequest request,
                              org.elasticsearch.action.ActionListener<?> listener,
                              Map<String,​Set<String>> allowedFlsFields,
                              Map<String,​Set<String>> maskedFields,
                              Map<String,​Set<String>> queries,
                              boolean localHashingEnabled)
        Specified by:
        invoke in interface com.floragunn.searchguard.configuration.DlsFlsRequestValve
        Parameters:
        request -
        listener -
        Returns:
        false on error
      • handleSearchContext

        public void handleSearchContext​(org.elasticsearch.search.internal.SearchContext context,
                                        org.elasticsearch.threadpool.ThreadPool threadPool,
                                        org.elasticsearch.common.xcontent.NamedXContentRegistry namedXContentRegistry)
        Specified by:
        handleSearchContext in interface com.floragunn.searchguard.configuration.DlsFlsRequestValve
      • onQueryPhase

        public void onQueryPhase​(org.elasticsearch.search.internal.SearchContext searchContext,
                                 long tookInNanos,
                                 org.elasticsearch.threadpool.ThreadPool threadPool)
        Specified by:
        onQueryPhase in interface com.floragunn.searchguard.configuration.DlsFlsRequestValve