Skip to content

Commit

Permalink
Merge branch 'opensearch-project:main' into remove_hardcoded_provider
Browse files Browse the repository at this point in the history
  • Loading branch information
terryquigleysas authored Jul 19, 2024
2 parents 3a4c3be + 26a4c0b commit a1f1e9a
Show file tree
Hide file tree
Showing 4 changed files with 1 addition and 30 deletions.
5 changes: 0 additions & 5 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,6 @@ buildscript {
common_utils_version = System.getProperty("common_utils.version", '3.0.0.0-SNAPSHOT')

kafka_version = '3.7.1'
apache_cxf_version = '4.0.4'
open_saml_version = '4.3.2'
one_login_java_saml = '2.9.0'
jjwt_version = '0.12.6'
Expand Down Expand Up @@ -599,10 +598,6 @@ dependencies {

runtimeOnly 'net.minidev:accessors-smart:2.5.1'

runtimeOnly "org.apache.cxf:cxf-core:${apache_cxf_version}"
implementation "org.apache.cxf:cxf-rt-rs-json-basic:${apache_cxf_version}"
runtimeOnly "org.apache.cxf:cxf-rt-security:${apache_cxf_version}"

runtimeOnly 'com.sun.activation:jakarta.activation:1.2.2'
runtimeOnly 'com.eclipsesource.minimal-json:minimal-json:0.9.5'
runtimeOnly 'commons-codec:commons-codec:1.17.0'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -254,7 +254,6 @@ void authorizeRequest(RestHandler original, SecurityRequestChannel request, User
log.debug(err);

request.queueForSending(new SecurityResponse(HttpStatus.SC_UNAUTHORIZED, err));
return;
}
}
}
Expand Down Expand Up @@ -309,7 +308,6 @@ public void checkAndAuthenticateRequest(SecurityRequestChannel requestChannel) t
if (!registry.authenticate(requestChannel)) {
// another roundtrip
org.apache.logging.log4j.ThreadContext.remove("user");
return;
} else {
// make it possible to filter logs by username
org.apache.logging.log4j.ThreadContext.put(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -179,7 +179,7 @@ private Set<String> getAllSystemIndices(final Resolved requestedResolved) {
.collect(Collectors.toSet());
if (isSystemIndexEnabled) {
systemIndices.addAll(systemIndexMatcher.getMatchAny(requestedResolved.getAllIndices(), Collectors.toList()));
systemIndices.addAll(SystemIndexRegistry.matchesSystemIndexPattern(requestedResolved.getAllIndices().toArray(String[]::new)));
systemIndices.addAll(SystemIndexRegistry.matchesSystemIndexPattern(requestedResolved.getAllIndices()));
}
return systemIndices;
}
Expand Down

This file was deleted.

0 comments on commit a1f1e9a

Please sign in to comment.