Re: [Artifactory-users] REST API returns 406 (Not Acceptable) when working with Spring 3 RestTemplate

2010-07-04 Thread Evgeny Goldin
Ok, thank you! - Best regards, Evgeny http://evgeny-goldin.com/ -- View this message in context: http://forums.jfrog.org/REST-API-returns-406-Not-Acceptable-when-working-with-Spring-3-RestTemplate-tp5231906p5253195.html Sent from the Artifactory - Users mailing list archive at Nabble.com.

[Artifactory-users] REST API returns 406 (Not Acceptable) when working with Spring 3 RestTemplate

2010-06-28 Thread Evgeny Goldin
Hi, When I try to use Spring 3 RestTemplate to call Artifactory REST API I always get 406 (Not Acceptable) even though I have Apache Commons HttpClient set with credentials. When I use HttpClient directly it works. Is there anybody else who experienced similar issue with Spring 3 RestTemplate?

Re: [Artifactory-users] REST API returns 406 (Not Acceptable) when working with Spring 3 RestTemplate

2010-06-28 Thread Evgeny Goldin
Also, from 3 password versions, which one can I send with REST calls? * Plain text * Encrypted password that can be stored in settings.xml * MD5 of password that is available in the Admin = Advanced = Security Descriptor Seems to me like the first two but I'd like to be sure. Thank you! -

Re: [Artifactory-users] REST API returns 406 (Not Acceptable) when working with Spring 3 RestTemplate

2010-06-28 Thread Yoav Landman
Your guess is good ;) For encrypted password you need to have the password policy 'support' or 'require' encrypted password - note that in the later case you will not be able to send clear text. On Mon, Jun 28, 2010 at 11:25 PM, Evgeny Goldin evge...@gmail.com wrote: Also, from 3 password

Re: [Artifactory-users] REST API returns 406 (Not Acceptable) when working with Spring 3 RestTemplate

2010-06-28 Thread Evgeny Goldin
Just posted the credentials question to the Spring forum as well: http://forum.springsource.org/showthread.php?t=91471 - Best regards, Evgeny http://evgeny-goldin.com/ -- View this message in context:

Re: [Artifactory-users] REST API returns 406 (Not Acceptable) when working with Spring 3 RestTemplate

2010-06-28 Thread Evgeny Goldin
Evgeny Goldin wrote: No, I was issuing a simple /api/storage/{repoName}/{groupId}/{artifactId} request to get a folder metadata, trying to see the latest version available. Yes, anonymous user has all rights, except admin. I'll check it again and will open a bug with a dump of HTTP