[jboss-user] [JBoss Seam] - JBoss rules

mhissen do-not-reply at jboss.com
Tue Sep 4 13:13:01 EDT 2007


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



More information about the jboss-user mailing list