Package com.denimgroup.threadfix.service.waf

Examples of com.denimgroup.threadfix.service.waf.RealTimeProtectionGenerator


      editedDirective = waf.getLastWafRuleDirective();
    }

    RealTimeProtectionGeneratorFactory factory = new RealTimeProtectionGeneratorFactory(
                              wafRuleDao, wafRuleDirectiveDao);
    RealTimeProtectionGenerator generator = factory.getTracker(waf.getWafType().getName());
    if (generator != null) {
      if (editedDirective == null) {
        editedDirective = generator.getDefaultDirective(waf);
      }

            newWafRuleList = generator.generateRules(waf, editedDirective, application);
            waf.addWafRules(newWafRuleList);
            waf.setLastWafRuleDirective(editedDirective);
      saveOrUpdateRules(waf, editedDirective);
      storeWaf(waf);
    }
View Full Code Here

TOP

Related Classes of com.denimgroup.threadfix.service.waf.RealTimeProtectionGenerator

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.