Refactored ValidationRestCallbackAdapter