summaryrefslogtreecommitdiff
path: root/eaaf_core_utils/src
diff options
context:
space:
mode:
authorThomas Lenz <thomas.lenz@egiz.gv.at>2020-08-27 07:47:22 +0200
committerThomas Lenz <thomas.lenz@egiz.gv.at>2020-08-27 07:47:22 +0200
commit37ef7d68ef58f0ead21b69a3b1b14980b9cb9ce3 (patch)
tree48a0ccd0c131415c230f5f5616bb207436fef6a3 /eaaf_core_utils/src
parentbe7b4a37fb0844e9f1b9ed91742af3d204f68f22 (diff)
downloadEAAF-Components-37ef7d68ef58f0ead21b69a3b1b14980b9cb9ce3.tar.gz
EAAF-Components-37ef7d68ef58f0ead21b69a3b1b14980b9cb9ce3.tar.bz2
EAAF-Components-37ef7d68ef58f0ead21b69a3b1b14980b9cb9ce3.zip
fix wrong log-message in EaafKeyStoreFactory
Diffstat (limited to 'eaaf_core_utils/src')
-rw-r--r--eaaf_core_utils/src/main/java/at/gv/egiz/eaaf/core/impl/credential/EaafKeyStoreFactory.java3
-rw-r--r--eaaf_core_utils/src/main/resources/messages/eaaf_utils_message.properties1
2 files changed, 3 insertions, 1 deletions
diff --git a/eaaf_core_utils/src/main/java/at/gv/egiz/eaaf/core/impl/credential/EaafKeyStoreFactory.java b/eaaf_core_utils/src/main/java/at/gv/egiz/eaaf/core/impl/credential/EaafKeyStoreFactory.java
index bd2b3cab..955648c6 100644
--- a/eaaf_core_utils/src/main/java/at/gv/egiz/eaaf/core/impl/credential/EaafKeyStoreFactory.java
+++ b/eaaf_core_utils/src/main/java/at/gv/egiz/eaaf/core/impl/credential/EaafKeyStoreFactory.java
@@ -63,6 +63,7 @@ public class EaafKeyStoreFactory {
public static final String ERRORCODE_06 = "internal.keystore.06";
public static final String ERRORCODE_07 = "internal.keystore.07";
public static final String ERRORCODE_10 = "internal.keystore.10";
+ public static final String ERRORCODE_11 = "internal.keystore.11";
public static final String ERRORCODE_KEY_00 = "internal.key.00";
@@ -316,7 +317,7 @@ public class EaafKeyStoreFactory {
}
if (!ressource.exists()) {
- throw new EaafConfigurationException(ERRORCODE_05,
+ throw new EaafConfigurationException(ERRORCODE_06,
new Object[] { config.getFriendlyName(),
"RessourceLoader does NOT find File at: " + ressource.getURI() });
diff --git a/eaaf_core_utils/src/main/resources/messages/eaaf_utils_message.properties b/eaaf_core_utils/src/main/resources/messages/eaaf_utils_message.properties
index 6f1b1f94..5b398bb0 100644
--- a/eaaf_core_utils/src/main/resources/messages/eaaf_utils_message.properties
+++ b/eaaf_core_utils/src/main/resources/messages/eaaf_utils_message.properties
@@ -12,6 +12,7 @@ internal.keystore.07=Validation of KeyStore: {0} failed. Reason: {1}
internal.keystore.08=Can not access Key: {1} in KeyStore: {0}
internal.keystore.09=Can not access Key: {1} in KeyStore: {0} Reason: {2}
internal.keystore.10=HSM-Facade NOT INITIALIZED. Find HSM-Facade class: {0} put that looks WRONG.
+internal.keystore.11=KeyStore: {0} has a wrong configuration. Property: {0} Reason:{1}
internal.key.00=Can not generate passphrase based symmetric-key: {0} Reason: {1}
internal.key.01=Can not use key from Keystore: {0} Reason: {1}