Skip to content

Commit b668f51

Browse files
retatmanninger
authored andcommitted
Use evaluateSslExceptionHandler() when constructing OpenSearchSecureSettingsFactory (opensearch-project#4725)
Signed-off-by: Andriy Redko <andriy.redko@aiven.io> Signed-off-by: tmanninger <t.manninger@ixolit.com>
1 parent e53f7d1 commit b668f51

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
@@ -2122,7 +2122,7 @@ public PluginSubject getPluginSubject(Plugin plugin) {
21222122

21232123
@Override
21242124
public Optional<SecureSettingsFactory> getSecureSettingFactory(Settings settings) {
2125-
return Optional.of(new OpenSearchSecureSettingsFactory(threadPool, sks, sslExceptionHandler, securityRestHandler));
2125+
return Optional.of(new OpenSearchSecureSettingsFactory(threadPool, sks, evaluateSslExceptionHandler(), securityRestHandler));
21262126
}
21272127

21282128
@SuppressWarnings("removal")

0 commit comments

Comments
 (0)