I have a problem in the installation of Drools; I have a file ?security.drl? 
which contains the following rule:

  | rule RestrictAccess
  |     when
  |             check: PermissionCheck(name == "/home.xhtml", action == 
"render", granted == false)
  |             Role(name == "user")
  |     then
  |             check.grant();
  |     end;
  | 

My file ?component.xml? contains:

  | <drools:rule-base name="securityRules" rule-files="/security.drl" />
  |  <drools:managed-working-memory name="workingMemory" 
rule-base="#{securityRules}" />
  | 

But the rule is not activated. How I can detect if drools is activated?

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4080997#4080997

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4080997
_______________________________________________
jboss-user mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/jboss-user

Reply via email to