From 478b27d2ea9f14ab8cc82a266c3fdb315e26a583 Mon Sep 17 00:00:00 2001 From: Craig Perkins Date: Mon, 21 Aug 2023 15:22:38 -0400 Subject: [PATCH] [2.x] React to Compressor changes from core from #9262 (#3221) ### Description Reacting to changes from the backport of https://github.com/opensearch-project/OpenSearch/pull/9262. This reason the main branch of Security is not encountering these errors is because the affected class was removed in https://github.com/opensearch-project/security/pull/2900 and the change has not been backported yet. @willyborankin are you planning to backport https://github.com/opensearch-project/security/pull/2900? * Category (Enhancement, New feature, Bug fix, Test fix, Refactoring, Maintenance, Documentation) Maintenance ### Check List - [ ] New functionality includes testing - [ ] New functionality has been documented - [ ] Commits are signed per the DCO using --signoff By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license. For more information on following Developer Certificate of Origin and signing off your commits, please check [here](https://github.com/opensearch-project/OpenSearch/blob/main/CONTRIBUTING.md#developer-certificate-of-origin). Signed-off-by: Craig Perkins --- .../security/dlic/rest/validation/CredentialsValidator.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/org/opensearch/security/dlic/rest/validation/CredentialsValidator.java b/src/main/java/org/opensearch/security/dlic/rest/validation/CredentialsValidator.java index 283af8dd00..495516f8c3 100644 --- a/src/main/java/org/opensearch/security/dlic/rest/validation/CredentialsValidator.java +++ b/src/main/java/org/opensearch/security/dlic/rest/validation/CredentialsValidator.java @@ -14,7 +14,7 @@ import java.util.Map; import org.opensearch.core.common.bytes.BytesReference; -import org.opensearch.core.common.compress.NotXContentException; +import org.opensearch.core.compress.NotXContentException; import org.opensearch.common.settings.Settings; import org.opensearch.common.xcontent.XContentHelper; import org.opensearch.common.xcontent.XContentType;