[SERVER-58828] Make AuthorizationManagerImpl use final inheritance Created: 26/Jul/21  Updated: 29/Oct/23  Resolved: 26/Oct/21

Status: Closed
Project: Core Server
Component/s: None
Affects Version/s: None
Fix Version/s: 5.2.0

Type: Improvement Priority: Major - P3
Reporter: Spencer Jackson Assignee: Adam Rayner
Resolution: Fixed Votes: 0
Labels: neweng
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Backwards Compatibility: Fully Compatible
Sprint: Security 2021-11-01
Participants:

 Description   

AuthorizationManagerImpl inherits from AuthorizationManager. No other classes inherit from AuthorizationManagerImpl. We should make it clear that this class "caps" the inheritance hierarchy, by adding theĀ "final" keyword to the class definition.



 Comments   
Comment by Githook User [ 25/Oct/21 ]

Author:

{'name': 'Adam Rayner', 'email': 'adam.rayner@gmail.com', 'username': 'adamtron'}

Message: SERVER-58828 prevent inheritance from AuthorizationManagerImpl via final
Branch: master
https://github.com/mongodb/mongo/commit/7e73c2e811a86c843a5081c844774dc42c1b9366

Generated at Thu Feb 08 05:45:34 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.