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-f...
Sent from the Drools - User mailing list archive at
Nabble.com.