[SERVER-25801] Only log x.509 roles parsing when OID is provided Created: 25/Aug/16  Updated: 02/Sep/16  Resolved: 29/Aug/16

Status: Closed
Project: Core Server
Component/s: Security
Affects Version/s: 3.3.11
Fix Version/s: 3.3.12

Type: Improvement Priority: Major - P3
Reporter: Andreas Nilsson Assignee: Andreas Nilsson
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Backwards Compatibility: Fully Compatible
Sprint: Security 19 (08/29/16)
Participants:

 Description   

Currently we always log the following statement during x.509 auth:

MONGODB-X509 authorization parsed the following roles from peer certificate:

It only makes sense to provide this log line when there is an actual privilege OID extension on the certificate.



 Comments   
Comment by Githook User [ 29/Aug/16 ]

Author:

{u'name': u'Andreas Nilsson', u'email': u'andreas.nilsson@mongodb.com'}

Message: SERVER-25801 Only log x.509 roles when OID extension is present
Branch: master
https://github.com/mongodb/mongo/commit/6779eadd56adfaa6ceb5d1d6dd3ad0f10067bb99

Generated at Thu Feb 08 04:10:16 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.