[rules-users] How to modify changeset.xml in guvnor

Ross H ross.hall at suncorp.com.au
Tue Mar 8 02:40:32 EST 2011


I have a similar problem. 

Looking at the drools-guvnor 5.1.1 src it appears that the change set is
hard coded in PackageDeploymentServlet. Essentially it takes the URL
request, chops off the /ChangeSet.xml and returns that url in a changeset
xml which does not have the authentication parameters, hence the 401.

As a quick and dirty fix you could change this to embed a username/passwd of
your preference, but this is a little fragile.
As the source code says //here be dragons ! You need to be very careful
about hardcoding/exposing usernames/passwds.

I'm hoping there is a more elegent solution, and maybe a kind soul will
inform us. I will keep digging.

RossH



--
View this message in context: http://drools-java-rules-engine.46999.n3.nabble.com/How-to-modify-changeset-xml-in-guvnor-tp1404619p2649876.html
Sent from the Drools - User mailing list archive at Nabble.com.



More information about the rules-users mailing list