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]>
  • Loading branch information
reta authored Sep 10, 2024
1 parent f9107b8 commit 014c8de
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -2122,7 +2122,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 014c8de

Please sign in to comment.