This commit is contained in:
Alexey Pronin 2019-03-28 17:07:40 +03:00
parent 43238a8698
commit 17b9a8b8db
No known key found for this signature in database
GPG Key ID: 1FEFC4A6AAD7535A
2 changed files with 3 additions and 1 deletions

View File

@ -35,7 +35,7 @@
<properties>
<security.version>0.7.0.1</security.version>
<elasticsearch.version>6.5.4</elasticsearch.version>
<elasticsearch.version>6.6.1</elasticsearch.version>
<!-- deps -->
<log4j.version>2.11.1</log4j.version>

View File

@ -80,12 +80,14 @@ public abstract class AbstractApiAction extends BaseRestHandler {
private String opendistrosecurityIndex;
private final RestApiPrivilegesEvaluator restApiPrivilegesEvaluator;
protected final AuditLog auditLog;
protected final Settings settings;
protected AbstractApiAction(final Settings settings, final Path configPath, final RestController controller,
final Client client, final AdminDNs adminDNs, final IndexBaseConfigurationRepository cl,
final ClusterService cs, final PrincipalExtractor principalExtractor, final PrivilegesEvaluator evaluator,
ThreadPool threadPool, AuditLog auditLog) {
super(settings);
this.settings = settings;
this.opendistrosecurityIndex = settings.get(ConfigConstants.OPENDISTRO_SECURITY_CONFIG_INDEX_NAME,
ConfigConstants.OPENDISTRO_SECURITY_DEFAULT_CONFIG_INDEX);