Describe the bug
Pre-condition checks in handling of ROTATE_CREDENTIALS and RESET_CREDENTIALS operations are duplicated in RBAC and Ranger authorizer implementations. As suggested in PR 3928, the duplicated code should be moved to a common utility class method and update authorizer implementations to call this method.
To Reproduce
No response
Actual Behavior
No response
Expected Behavior
No response
Additional context
No response
System information
No response