Skip to content

Commit 4c983d5

Browse files
Use evaluateSslExceptionHandler() when constructing OpenSearchSecureSettingsFactory (#4725)
Signed-off-by: Andriy Redko <andriy.redko@aiven.io> (cherry picked from commit 014c8de) Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
1 parent 90e2a56 commit 4c983d5

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)