Whether the officer was right or wrong in her actions, what was the end result? What did the guy learn?

1) Don't forget your license.
2) Gammies are jerks and cooperating doesn't win you any favors. Might as well be a jerk back.

So in the end, did the officer act correctly? In my opinion, NO!