Class SecurityBundle<T extends io.dropwizard.core.Configuration>
java.lang.Object
org.sdase.commons.server.security.SecurityBundle<T>
- All Implemented Interfaces:
io.dropwizard.core.ConfiguredBundle<T>
public class SecurityBundle<T extends io.dropwizard.core.Configuration>
extends Object
implements io.dropwizard.core.ConfiguredBundle<T>
A
ConfiguredBundle
that enforces common rules for secure REST applications.
This bundle helps to avoid risks identified in the security guide "Dropwizard Härtungsmaßnahmen" by Timo Pagel. Risk management is delegated to other classes, that are initialized or invoked from this bundle:
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionstatic SecurityBundle.Builder
builder()
void
initialize
(io.dropwizard.core.setup.Bootstrap<?> bootstrap) void
-
Method Details
-
builder
-
initialize
public void initialize(io.dropwizard.core.setup.Bootstrap<?> bootstrap) - Specified by:
initialize
in interfaceio.dropwizard.core.ConfiguredBundle<T extends io.dropwizard.core.Configuration>
-
run
- Specified by:
run
in interfaceio.dropwizard.core.ConfiguredBundle<T extends io.dropwizard.core.Configuration>
-