Code development platform for open source projects from the European Union institutions

Skip to content
Snippets Groups Projects
Commit dcfc7e15 authored by Joze RIHTARSIC's avatar Joze RIHTARSIC
Browse files

fix PR

parent 101a1ff8
No related branches found
No related tags found
No related merge requests found
Pipeline #23091 passed with warnings
......@@ -231,8 +231,10 @@ public class UIServiceMetadataService extends UIServiceBase<DBServiceMetadata, S
}
if (StringUtils.equalsAnyIgnoreCase(key.getAlgorithm(), allowedKeyAlgs.toArray(new String[]{}))) {
LOG.debug("Certificate has valid key algorithm [{}]. Allowed algorithms: [{}] .", key.getAlgorithm(), allowedKeyAlgs);
return;
}
LOG.debug("Certificate has invalid key algorithm [{}]. Allowed algorithms: [{}] .", key.getAlgorithm(), allowedKeyAlgs);
throw new CertificateException("Certificate does not have allowed key type!");
}
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment