* @return an error resolution if needed, <code>null</code> otherwise
*/
@Before(stages = LifecycleStage.BindingAndValidation)
public Resolution checkRunningInDevelopmentEnvironment() {
if (SystemProperty.environment.value() != SystemProperty.Environment.Value.Development) {
return new ErrorResolution(HttpServletResponse.SC_FORBIDDEN,
"this action should not be called in production");
}
return null;
}