Skip to content

Commit ff7ac34

Browse files
[Backport 2.x] Use evaluateSslExceptionHandler() when constructing OpenSearchSecureSettingsFactory (#4726)
Signed-off-by: Andriy Redko <andriy.redko@aiven.io> Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
1 parent 90e2a56 commit ff7ac34

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/java/org/opensearch/security/OpenSearchSecurityPlugin.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -2120,7 +2120,7 @@ public PluginSubject getPluginSubject(Plugin plugin) {
21202120

21212121
@Override
21222122
public Optional<SecureSettingsFactory> getSecureSettingFactory(Settings settings) {
2123-
return Optional.of(new OpenSearchSecureSettingsFactory(threadPool, sks, sslExceptionHandler, securityRestHandler));
2123+
return Optional.of(new OpenSearchSecureSettingsFactory(threadPool, sks, evaluateSslExceptionHandler(), securityRestHandler));
21242124
}
21252125

21262126
@SuppressWarnings("removal")

0 commit comments

Comments
 (0)