Personally, I do not think you are not wrong for getting upset. You set the boundary, and he broke it. If he respected you, he wouldn’t have done that. I would also be upset if my boyfriend did that to me. I would be less mad if he asked me first, but I think you are entirely valid to be upset about it.