In Dropwizard you'd just add a parameter annotated...
# server
a
In Dropwizard you'd just add a parameter annotated with @AuthUser to the function that serves the request and write the code that plugs into auth filters