Class OgnlInjectionDetector

  • All Implemented Interfaces:
    edu.umd.cs.findbugs.Detector, edu.umd.cs.findbugs.Priorities

    public class OgnlInjectionDetector
    extends BasicInjectionDetector
    • Constructor Detail

      • OgnlInjectionDetector

        public OgnlInjectionDetector​(edu.umd.cs.findbugs.BugReporter bugReporter)
    • Method Detail

      • shouldAnalyzeClass

        public boolean shouldAnalyzeClass​(edu.umd.cs.findbugs.ba.ClassContext classContext)
        Description copied from class: AbstractTaintDetector
        Allow any concrete implementation of taint detector to skip the analysis of certain files. The purpose can be for optimisation or to trigger bug in specific context. The default implementation returns true to all classes visited.
        Overrides:
        shouldAnalyzeClass in class AbstractTaintDetector
        Parameters:
        classContext - Information about the class that is about to be analyzed
        Returns:
        If the given class should be analyze.