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.
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?
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!
-
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
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:
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