Why ? The entity class in the example is User so the validation group is named User right ?