[jbossseam-issues] [JBoss JIRA] Created: (JBSEAM-4456) Support for reloading classpath security.drl

Miloslav Vlach (JIRA) jira-events at lists.jboss.org
Sat Oct 24 20:32:17 EDT 2009


Support for reloading classpath security.drl
--------------------------------------------

                 Key: JBSEAM-4456
                 URL: https://jira.jboss.org/jira/browse/JBSEAM-4456
             Project: Seam
          Issue Type: Feature Request
          Components: Drools
    Affects Versions: 2.2.0.GA
         Environment: Drools without BRMS
            Reporter: Miloslav Vlach
         Attachments: RuleAgent.java.patch.zip

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

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the seam-issues mailing list