diff --git a/smp-server-library/src/main/java/eu/europa/ec/edelivery/smp/data/ui/enums/SMPPropertyEnum.java b/smp-server-library/src/main/java/eu/europa/ec/edelivery/smp/data/ui/enums/SMPPropertyEnum.java index 8221be55553ddd2e2d22afaa2abbdb22275c42c2..d2070c6575fe4c06ba0a4167401f8dd1219aea36 100644 --- a/smp-server-library/src/main/java/eu/europa/ec/edelivery/smp/data/ui/enums/SMPPropertyEnum.java +++ b/smp-server-library/src/main/java/eu/europa/ec/edelivery/smp/data/ui/enums/SMPPropertyEnum.java @@ -101,7 +101,7 @@ public enum SMPPropertyEnum { CERTIFICATE_SUBJECT_REGULAR_EXPRESSION("smp.certificate.validation.subjectRegex", ".*", "Regular expression to validate subject of the certificate", OPTIONAL, NOT_ENCRYPTED, NO_RESTART_NEEDED, REGEXP), CERTIFICATE_ALLOWED_KEY_TYPES("smp.certificate.validation.allowed.certificate.types", - "", "Allowed user certificate types. Empty value means no restrictions, for other values see the java KeyFactory Algorithms as examples: as example RSA|EC|Ed25519|Ed448", + "", "Allowed user certificate types. Empty value means no restrictions, for other values see the java KeyFactory Algorithms for examples: RSA|EC|Ed25519|Ed448", OPTIONAL, NOT_ENCRYPTED, NO_RESTART_NEEDED, LIST_STRING), SMP_PROPERTY_REFRESH_CRON("smp.property.refresh.cronJobExpression", "0 48 */1 * * *", "Property refresh cron expression (def 12 minutes to each hour). Property change is refreshed at restart!", @@ -360,7 +360,7 @@ public enum SMPPropertyEnum { CLIENT_CERT_HEADER_ENABLED_DEPRECATED("authentication.blueCoat.enabled", "false", "Property was replaced by property: smp.automation.authentication.external.tls.clientCert.enabled", OPTIONAL, NOT_ENCRYPTED, NO_RESTART_NEEDED, BOOLEAN), - DOCUMENT_RESTRICTION_CERT_TYPES("document.restriction.allowed.certificate.types", "", "Allowed certificate types registered when composing service metadata. Empty value means no restrictions, for other values see the java KeyFactory Algorithms as examples: as example RSA|EC|Ed25519|Ed448", + DOCUMENT_RESTRICTION_CERT_TYPES("document.restriction.allowed.certificate.types", "", "Allowed certificate types registered when composing service metadata. Empty value means no restrictions, for other values see the java KeyFactory Algorithms for examples: RSA|EC|Ed25519|Ed448", OPTIONAL, NOT_ENCRYPTED, NO_RESTART_NEEDED, LIST_STRING), ; diff --git a/smp-server-library/src/main/java/eu/europa/ec/edelivery/smp/services/ui/UITruststoreService.java b/smp-server-library/src/main/java/eu/europa/ec/edelivery/smp/services/ui/UITruststoreService.java index 55b0b8ab75b9bceb6494794c84c9be2ed6ee9806..53f20f7f87694359160174bd986759f04c57f9fa 100644 --- a/smp-server-library/src/main/java/eu/europa/ec/edelivery/smp/services/ui/UITruststoreService.java +++ b/smp-server-library/src/main/java/eu/europa/ec/edelivery/smp/services/ui/UITruststoreService.java @@ -280,7 +280,7 @@ public class UITruststoreService { if (!StringUtils.equalsAnyIgnoreCase(certKey.getAlgorithm(), allowedCertificateKeyTypes.toArray(new String[]{}))) { throw new CertificateException("Certificate does not have allowed key algorithm type! Key type [" + certKey.getAlgorithm() + "] Allowed values [" - + String.join(",", allowedCertificateKeyTypes) + "]!"); + + allowedCertificateKeyTypes + "]!"); } }