Skip to content

Commit

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

Signed-off-by: Andriy Redko <[email protected]>
  • Loading branch information
reta committed Sep 10, 2024
1 parent f9107b8 commit ec51813
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 ec51813

Please sign in to comment.