class AccessControlManager implements AccessControl {

    @Override
    @Deprecated
    public void checkCanSetUser(Optional<Principal> principal, String userName)
    {
        requireNonNull(principal, "principal is null");
        requireNonNull(userName, "userName is null");

        systemAuthorizationCheck(control -> control.checkCanSetUser(principal, userName));
    }

    @Inject public  AccessControlManager(TransactionManager transactionManager, EventListenerManager eventListenerManager, AccessControlConfig config);

}