Class ActionGroupsApiAction

  • All Implemented Interfaces:
    org.elasticsearch.rest.RestHandler

    public class ActionGroupsApiAction
    extends PatchableResourceApiAction
    • Constructor Detail

      • ActionGroupsApiAction

        @Inject
        public ActionGroupsApiAction​(org.elasticsearch.common.settings.Settings settings,
                                     Path configPath,
                                     org.elasticsearch.rest.RestController controller,
                                     org.elasticsearch.client.Client client,
                                     com.floragunn.searchguard.configuration.AdminDNs adminDNs,
                                     com.floragunn.searchguard.configuration.ConfigurationRepository cl,
                                     com.floragunn.searchguard.sgconf.StaticSgConfig staticSgConfig,
                                     org.elasticsearch.cluster.service.ClusterService cs,
                                     com.floragunn.searchguard.ssl.transport.PrincipalExtractor principalExtractor,
                                     com.floragunn.searchguard.privileges.PrivilegesEvaluator evaluator,
                                     com.floragunn.searchguard.privileges.SpecialPrivilegesEvaluationContextProviderRegistry specialPrivilegesEvaluationContextProviderRegistry,
                                     org.elasticsearch.threadpool.ThreadPool threadPool,
                                     com.floragunn.searchguard.auditlog.AuditLog auditLog)
    • Method Detail

      • routes

        public List<org.elasticsearch.rest.RestHandler.Route> routes()
        Specified by:
        routes in interface org.elasticsearch.rest.RestHandler
        Specified by:
        routes in class org.elasticsearch.rest.BaseRestHandler
      • consumeParameters

        protected void consumeParameters​(org.elasticsearch.rest.RestRequest request)
        Description copied from class: AbstractApiAction
        Consume all defined parameters for the request. Before we handle the request in subclasses where we actually need the parameter, some global checks are performed, e.g. check whether the SG index exists. Thus, the parameter(s) have not been consumed, and ES will always return a 400 with an internal error message.
        Overrides:
        consumeParameters in class AbstractApiAction