Default Application Module
The default guice module, binds things common to dropwizard and serverless execution
Functions
Binder for admin servlets
Binder for app servlets
Optional binder for dropwizard AuthFilter
Optional binder for the role based principal authorizer
Binder for EnvironmentCallbacks
Configure CORS headers to allow the service to be hit from pages hosted by the admin port, the app port, or standard HTTP ports on the configured TribeApplicationConfig.corsDomain
Enables creation of a Jersey Servlet HeaderFilter that configures HTTPS headers to turn on specified security settings, such as HSTS, content-options, frame-options, XSS options and Content Security Policy. It returns a ServletFilterConfig object that specifies the HeaderFilter and the updated HTTPS header values. Header values are supplied via the application.httpHeaders parameter in TribeApplicationConfig.httpsHeaders. The value of application.httpHeaders can be an empty list.
Binder for jersey resources