Skip to content

Commit dcde561

Browse files
committed
Add debug statement when returning early
WE2-1026 Signed-off-by: Sven Mitt <[email protected]>
1 parent d988710 commit dcde561

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/main/java/eu/webeid/security/validator/certvalidators/SubjectCertificatePurposeValidator.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,7 @@ public static void validateCertificatePurpose(X509Certificate subjectCertificate
5757
if (usages == null || usages.isEmpty()) {
5858
// Digital Signature extension present, but Extended Key Usage extension not present,
5959
// assume it is an authentication certificate (e.g. Luxembourg eID).
60+
LOG.debug("User certificate Extended Key Usage extension not present, thus certificate can be used for client authentication.");
6061
return;
6162
}
6263
if (!usages.contains(EXTENDED_KEY_USAGE_CLIENT_AUTHENTICATION)) {

0 commit comments

Comments
 (0)