Conditional authorization for Dropwizard framework