Skip to content
Browse files

Logging of SubjectSerialNumber when we know it

  • Loading branch information...
1 parent 89634f5 commit 1ee290670cb9a6f46dcaaa2d4c063b012a637583 Ole Friis Østergaard committed
View
2 ...ation/src/main/java/com/trifork/stamdata/replication/security/ssl/SslSecurityManager.java
@@ -40,7 +40,7 @@ public boolean isAuthorized(HttpServletRequest request) {
logger.info("Client '" + client + "' cannot access view='" + viewName + "'. ip='" + remoteIP + "'");
return false;
}
- logger.info("No access for cvr='" + certificate.getCvr() + "' to view='" + viewName + "'. ip='" + remoteIP + "'");
+ logger.info("No access for subjectSerialNumber='" + certificate.getSubjectSerialNumber() + "' to view='" + viewName + "'. ip='" + remoteIP + "'");
return false;
}
logger.info("No or invalid certificate when accessing view='" + viewName + "'. ip='" + remoteIP + "'");

0 comments on commit 1ee2906

Please sign in to comment.
Something went wrong with that request. Please try again.