[mb-devel] Using the Webservice Digest Authentication
Matthias Friedrich
matt at mafr.de
Tue Dec 19 19:12:54 UTC 2006
On Tuesday, 2006-12-19, Paul Taylor wrote:
> Hi I am trying to to submit Puid/MusicBrainz pairs, but I am struggling
> to get the digest authentication, the Java code below fails with
> HttpCode 401 (Authorization Failure). Ive read up a few articles, but
> exactly how it works seem to vary, is there anymore info on the
> MusicBrainz usage, or can anyone see where I am going wrong with the
> implementation below ( the user and password have been changed)
I'm not sure if J2SE supports HTTP Digest Authentication, I've seen
no reference to it in the docs. You probably have to use a separate
library, maybe the Apache Commons HTTP client library, unless you want
to implement digest authentication manually.
Oh, and please don't try this on the main server. Use the test server
(http://test.musicbrainz.org) instead.
Cheers,
Matthias
More information about the MusicBrainz-devel
mailing list