[rules-users] Drools 5.1.1 KnowledgeAgent and SecurityRules

lnguyen nguyen_linnet at bah.com
Thu Sep 9 09:21:17 EDT 2010


I recently upgraded from drools guvnor 5.0.1 to 5.1.1 but I haven't seen any
examples on how to change securityRules now that RuleBase has been replaced
with KnowledgeBase.

Originally I had...

<drools:rule-agent
        name="securityRules"
       
url="https://127.0.0.1:7002/drools-guvnor-5.0.1/org.drools.guvnor.Guvnor/package/Security/LATEST"
        local-cache-dir="/tmp/"
        poll="60"
        auto-create="true"/>

<security:rule-based-permission-resolver security-rules="#{securityRules}"/>

I tried to leave this way but then i get an error but the 5.1.1 guvnor
secures the URL so I get the following: RuleAgent(default) EXCEPTION
Response: '401: Unauthorized' for url: ...

How do configure the application security to use the KnowledgeBase?
-- 
View this message in context: http://drools-java-rules-engine.46999.n3.nabble.com/Drools-5-1-1-KnowledgeAgent-and-SecurityRules-tp1445839p1445839.html
Sent from the Drools - User mailing list archive at Nabble.com.



More information about the rules-users mailing list