Provider<MessageInterpolator> interpolatorProvider) {
HibernateValidatorConfiguration configure =
Validation.byProvider(HibernateValidator.class).configure();
configure.messageInterpolator(interpolatorProvider.get());
return configure.buildValidatorFactory();
}
private void configureInterceptors() {
bind(AuthInterceptor.class);
bind(PageRequestInterceptor.class);