0 Replies Latest reply on Oct 12, 2007 7:29 AM by Maxim Usoltsev

    How to change Drools security rules in run-time ?

    Maxim Usoltsev Newbie

      How can i change rules used to check permissions in run-time ?
      I want to create my own entities to store users, roles and grants
      And i want to use seam recommended methods to check permissions (and drools to actually fire rules)
      So, what is a best practice to append my own rules bases on my own entities to rules configured in .drl files ?
      Is it right to write a application-scope component, use
      RuleBase securityRules;

      and do something like
      org.jboss.seam.drools.RuleBase compileRuleBase() method (use PackageBuilder etc...)?