Uploaded image for project: 'Seam 2'
  1. Seam 2
  2. JBSEAM-4456

Support for reloading classpath security.drl

    Details

    • Type: Feature Request
    • Status: Closed (View Workflow)
    • Priority: Major
    • Resolution: Done
    • Affects Version/s: 2.2.0.GA
    • Fix Version/s: None
    • Component/s: Drools
    • Labels:
      None
    • Environment:

      Drools without BRMS

      Description

      I need to enable reloading *.drl files located in classpath. The attribute files load only files typed in absolute path form.

      <security:rule-based-permission-resolver security-rules="#

      {ruleAgent}" />
      <security:identity authenticate-method="#{authenticator.authenticate}" remember-me="true" />

      <drools:rule-agent
      name="ruleAgent"
      files="classpath:///security.drl classpath:///security2.drl"
      local-cache-dir="/tmp/"
      poll="5"/>

      <drools:managed-working-memory name="policyPricingWorkingMemory" auto-create="true" rule-base="#{ruleAgent}

      " />

      More info at http://www.bpsolutions.cz/blog/-/blogs/reloadable-drools-jboss-rules-security-drl-in-seam

        Gliffy Diagrams

          Attachments

            Activity

              People

              • Assignee:
                tsurdilovic Tihomir Surdilovic
                Reporter:
                mvlach Miloslav Vlach
              • Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: