Try adding some code for the authentification:
org.drools.io.impl.UrlResource urlResource =
(org.drools.io.impl.UrlResource) org.drools.io.ResourceFactory
.newUrlResource(new java.net.URL("your_rule_here"));
urlResource.setBasicAuthentication("enabled");
urlResource.setUsername("test");
urlResource.setPassword("test");
kbuilder.add(urlResource, ruleType);
--
View this message in context:
http://drools-java-rules-engine.46999.n3.nabble.com/access-guvnor-s-drl-file-through-URL-tp2011104p2034385.html
Sent from the Drools - User mailing list archive at Nabble.com.
_______________________________________________
rules-users mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/rules-users