BeanValidator does not suppport class level annotations

Hi all,
I’ve tried to use the
@ScriptAssert
validator to check password & confirm password field’s equality. However, the Vaadin’s
BeanValidator
ignores this annotation.
I have done some investigation and I think that this is due to the fact that the
BeanValidator.validate()
method iterates over each property and does not validate the bean instance by calling the
getJavaxBeanValidator().validate(value)
on “the whole” instance.
Should I consider it as a bug or this functionality is available in other validator (?), that I can use with
FieldGroup
?