From aefc98af84a5c0c628d64c4df6acdfdc9a72a3db Mon Sep 17 00:00:00 2001 From: lvydra Date: Tue, 13 Aug 2024 11:22:24 +0200 Subject: [PATCH] [ELY-2704] Missing keystore password does not throw a meaningful exception --- .../org/wildfly/security/auth/client/ElytronXmlParser.java | 3 +++ .../security/auth/client/_private/ElytronMessages.java | 5 +++++ 2 files changed, 8 insertions(+) diff --git a/auth/client/src/main/java/org/wildfly/security/auth/client/ElytronXmlParser.java b/auth/client/src/main/java/org/wildfly/security/auth/client/ElytronXmlParser.java index 967df3725b8..8a933f4951c 100644 --- a/auth/client/src/main/java/org/wildfly/security/auth/client/ElytronXmlParser.java +++ b/auth/client/src/main/java/org/wildfly/security/auth/client/ElytronXmlParser.java @@ -3649,6 +3649,9 @@ protected AbstractLoadingKeyStoreFactory(final ExceptionSupplier expectedClass, Class actualClass); + @LogMessage(level = INFO) + @Message(id = 1138, value = "No Keystore password specified \"%s\"") + void noKeystorePasswordSpecified(Location location); + @Message(id = 1139, value = "Failed to create credential store") ConfigXMLParseException xmlFailedToCreateCredentialStore(@Param Location location, @Cause Throwable cause);