garyvidal / marklogic-ant-tasks

Marklogic Ant Tasks
12 stars 3 forks source link

Digest authentication doesn't work #4

Open mdlesniak opened 12 years ago

mdlesniak commented 12 years ago

I love the ANT task library for MarkLogic, but I noticed the XDBC server it accesses has to have authentication set to "basic" (or "digestbasic") for tasks to run. Tasks fail due to authentication errors if the XDBC server is set to "digest".

garyvidal commented 12 years ago

XDBC up to 4.2 does not support digest authentication. Try setting to digestbasic

garyvidal commented 12 years ago

Not fixing, issue in ML server for xdbc connection

mdlesniak commented 12 years ago

We've got MarkLogic 4.2-8 installed, and are successfully running CORB jobs, RecordLoader tasks, and our own Java code with the same XDBC servers, with digest authentication set on all of them. Only the ANT tasks run against those same servers--with the same credentials--are failing. It can't be an issue in the ML server then, can it?

garyvidal commented 12 years ago

Fair enough, will look to see how to fix. May need to keep this up to date with latest XCC versions. Thanks

mdlesniak commented 12 years ago

I suspected it might be something to do with the XCC version, but didn't know all of what would be impacted by trying to change anything there. Meantime if infrastructure allows us to change the security to digestbasic on the servers, the workaround will work. Will keep tuned for updates. Thanks.