If any person in a position of authority harasses you that is unacceptable in itself but if they also go one step further and threaten your job they should be turned in. This also goes for any sort of bullying that happens between co-workers or a person in authority at your job. I would think in this day and age we wouldn’t even have to discuss this but unfortunately there are incidents that happen and go unreported.
One big problem is “your word against theirs.” Don’t be afraid to stand up to them because the likelihood is that you are not the only one. You are worth more than someone robbing you of your self-esteem.