diff --git a/managed-identity-wallets-app/src/main/java/org/eclipse/tractusx/managedidentitywallets/annotations/IsSignatureValid.java b/managed-identity-wallets-app/src/main/java/org/eclipse/tractusx/managedidentitywallets/annotations/IsSignatureValid.java index 095a04859..f596bee47 100644 --- a/managed-identity-wallets-app/src/main/java/org/eclipse/tractusx/managedidentitywallets/annotations/IsSignatureValid.java +++ b/managed-identity-wallets-app/src/main/java/org/eclipse/tractusx/managedidentitywallets/annotations/IsSignatureValid.java @@ -55,6 +55,7 @@ final class VerifiableCredentialValidator public boolean isValid(VerifiableCredential verifiableCredential, ConstraintValidatorContext context) { return verifiableCredential != null && validationService.hasSignature(verifiableCredential) && + // TODO if signature cannot be checked log info and ignore validationService.isSignatureValid(verifiableCredential); } } @@ -69,6 +70,7 @@ final class VerifiableCredentialsValidator public boolean isValid(List verifiableCredentials, ConstraintValidatorContext context) { return verifiableCredentials != null && validationService.hasSignature(verifiableCredentials) && + // TODO if signature cannot be checked log info and ignore validationService.isSignatureValid(verifiableCredentials); }