Class BufferLimitsAdvice


  • public class BufferLimitsAdvice
    extends java.lang.Object
    Checks that secure limits of used HttpConnectorFactory instances are used to avoid the risk of buffer overflow attacks. This class checks for the risks identified in the security guide as:
    • "Risiko: Buffer Overflow"
    • Constructor Summary

      Constructors 
      Constructor Description
      BufferLimitsAdvice​(io.dropwizard.server.ServerFactory serverFactory, boolean onlyLogOnViolation)  
    • Constructor Detail

      • BufferLimitsAdvice

        public BufferLimitsAdvice​(io.dropwizard.server.ServerFactory serverFactory,
                                  boolean onlyLogOnViolation)
    • Method Detail

      • applySecureConfiguration

        public void applySecureConfiguration()