Skip to content

Commit

Permalink
Use evaluateSslExceptionHandler() when constructing OpenSearchSecureS…
Browse files Browse the repository at this point in the history
…ettingsFactory (#4725)

Signed-off-by: Andriy Redko <[email protected]>
(cherry picked from commit 014c8de)
Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
  • Loading branch information
github-actions[bot] committed Sep 10, 2024
1 parent 90e2a56 commit 4c983d5
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -2120,7 +2120,7 @@ public PluginSubject getPluginSubject(Plugin plugin) {

@Override
public Optional<SecureSettingsFactory> getSecureSettingFactory(Settings settings) {
return Optional.of(new OpenSearchSecureSettingsFactory(threadPool, sks, sslExceptionHandler, securityRestHandler));
return Optional.of(new OpenSearchSecureSettingsFactory(threadPool, sks, evaluateSslExceptionHandler(), securityRestHandler));
}

@SuppressWarnings("removal")
Expand Down

0 comments on commit 4c983d5

Please sign in to comment.