I think basic authentication support was added in 5.1.1. Am I correct?
By the way, this is not the proper list I think. You should use
rules-users(a)lists.jboss.org instead
Best Regards,
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
Esteban Aliverti
- Developer @
http://www.plugtree.com
- Blog @
http://ilesteban.wordpress.com
On Fri, Dec 17, 2010 at 3:39 PM, Benson Fung <benson.redhat(a)gmail.com>wrote:
Hi,
I am using the BRMS 5.1 with the following change-set.xml at the client
side.
<change-set
xmlns='http://drools.org/drools-5.0/change-set'
xmlns:xs='http://www.w3.org/2001/XMLSchema-instance'
xs:schemaLocation='http://drools.org/drools-5.0/change-set
http://anonsvn.jboss.org/repos/labs/labs/jbossrules/trunk/drools-api/src/...
>
<add>
<resource source='
http://192.168.11.8:8080/jboss-brms/org.drools.guvnor.Guvnor/package/axaD...
type='PKG' basicAuthentication="enabled" username="admin"
password="admin"/>
</add>
</change-set>
Howerver, I still get the following exceptions. Please help
Caused by: java.io.IOException: Server returned HTTP response code: 401 for
URL:
http://192.168.11.8:8080/jboss-brms/org.drools.guvnor.Guvnor/package/axaD...
at
sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1441)
at org.drools.io.impl.UrlResource.getInputStream(UrlResource.java:76)
at
org.drools.agent.impl.KnowledgeAgentImpl.rebuildResources(KnowledgeAgentImpl.java:407)
... 3 more
Thanks
_______________________________________________
rules-dev mailing list
rules-dev(a)lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-dev