Class CustomErrorHandlerSecurityAdvice
java.lang.Object
org.sdase.commons.server.security.validation.CustomErrorHandlerSecurityAdvice
Checks that custom error mappers are registered by the JacksonConfigurationBundle. The check is
indirectly performed by checking that the bundle itself is registered. This class checks for the
risks identified in the security guide as:
- "Risiko: Erkennung von vertraulichen Komponenten ... Entfernen von applikations-bezogenen Fehlermeldungen"
- "Risiko: Erkennung von vertraulichen Komponenten ... Zentrales Abfangen aller Exceptions"
-
Constructor Summary
ConstructorsConstructorDescriptionCustomErrorHandlerSecurityAdvice
(io.dropwizard.core.server.ServerFactory serverFactory, io.dropwizard.core.setup.Bootstrap<?> bootstrap) -
Method Summary
-
Constructor Details
-
CustomErrorHandlerSecurityAdvice
public CustomErrorHandlerSecurityAdvice(io.dropwizard.core.server.ServerFactory serverFactory, io.dropwizard.core.setup.Bootstrap<?> bootstrap)
-
-
Method Details
-
applySecureConfiguration
public void applySecureConfiguration()
-