Stephen, Something like this: <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 drools-change-set-5.0.xsd' > <add> <resource source='http://localhost:8080/drools-guvnor/org.drools.guvnor.Guvnor/package/defaultPackage/LATEST' type='PKG' basicAuthentication="enabled" username="admin" password="admin" /> </add> </change-set>Kris
----- Original Message ----- From: "Stephen Mcgruer" <[email protected]> To: <[email protected]> Sent: Wednesday, July 28, 2010 1:09 PM Subject: [rules-users] 401 error when attempting to get PKG for changeset. >I have the following changeset: > > <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 > drools-change-set-5.0.xsd' > > <add> > <resource > source='http://localhost:1337/drools-guvnor/org.drools.guvnor.Guvnor/package/TEST/v0.1' > type='PKG' /> > </add> > </change-set> > > I just updated to the RC of Guvnor, and my PKG address now demands a > username and > password when I try and access it. Anything works, which is fine, but > how do I edit the > changeset so that it gives the details? At the moment when I run my > Java WAR it just > moans that it gets a 401 from that URL... > > Thanks! > > -- > The University of Edinburgh is a charitable body, registered in > Scotland, with registration number SC005336. > > > _______________________________________________ > rules-users mailing list > [email protected] > https://lists.jboss.org/mailman/listinfo/rules-users Disclaimer: http://www.kuleuven.be/cwis/email_disclaimer.htm _______________________________________________ rules-users mailing list [email protected] https://lists.jboss.org/mailman/listinfo/rules-users
