public interface SecurityCustomizer<C extends io.dropwizard.Configuration>
Modifier and Type | Method and Description |
---|---|
PlatformBundleBuilder<C> |
disableBufferLimitValidationSecurityFeature()
Switches from suppressing the application start to a warn logging for violated buffer limits.
|
PlatformBundleBuilder<C> |
withFrontendSupport()
If a service is configured with frontend support, the
Content-Security-Policy header
allows the same domain as source for scripts, images, styles and fonts. |
PlatformBundleBuilder<C> disableBufferLimitValidationSecurityFeature()
PlatformBundleBuilder<C> withFrontendSupport()
Content-Security-Policy
header
allows the same domain as source for scripts, images, styles and fonts. Otherwise, only API
endpoints can be served and Content-Security-Policy
does not allow any sources.