If a change set has a resource pointing to Guvnor in 5.6.0.CR1, the resource
is rejected because of http 401 because basicAuthentication is enabled by
default.

Previously in 5.5.0.Final, in addResourceMapping(Resource resource, boolean
notify), there was no check for existence of the resource as

 if ( notify && newMapping ) { ... }

In 5.6.0.CR1, it has been changed to
  if ( notify && newMapping && ((InternalResource)resource).exists() ) { ..}

and the the exists() method simply invokes URL.openStream() which fails with
401 (unauthorized) and the resource is not added.



--
View this message in context: 
http://drools.46999.n3.nabble.com/Http-401-error-in-drools-5-6-0-CR1-tp4027121.html
Sent from the Drools: User forum mailing list archive at Nabble.com.
_______________________________________________
rules-users mailing list
rules-users@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users

Reply via email to