|
From: Ruud de J. (JIRA) <ji...@jf...> - 2008-11-28 10:49:45
|
Remote repo credentials are not passed from configuration file to httpclient
----------------------------------------------------------------------------
Key: RTFACT-1067
URL: http://www.jfrog.org/jira/browse/RTFACT-1067
Project: Artifactory
Issue Type: Bug
Components: Configuration
Affects Versions: 1.3.0-beta-3
Environment: Artifactory 1.3.0-beta-2
Java 1.6.0_07 Sun JDK
Debian Lenny 4.1, kernel 2.6.18-6-686
1.5 GB RAM, 20 GB diskspace
Reporter: Ruud de Jong
Assignee: Yoav Landman
I want to use a private repo from another company to fetch private artifacts.
This is through a username/password authenticated proxy on https to a username/password authenticated repository.
The config.xml contains the following settings:
<remoteRepository>
<key>Sourcesense-private</key>
<handleReleases>true</handleReleases>
<handleSnapshots>true</handleSnapshots>
<url>https://dev.sourcesense.com/repos/dev/maven2</url>
<username>myusername</username>
<password>mypassword</password>
<proxyRef>myproxy</proxyRef>
</remoteRepository>
The proxy authentication goes OK, but the httpclient (within artifactory) does not seem to be able to use the provided username/password.
Here a section of the log file:
2008-11-28 04:13:41,969 [DEBUG] (HttpConnection.java:874) - enter HttpConnection.isResponseAvailable()
2008-11-28 04:13:41,969 [DEBUG] (HttpMethodDirector.java:843) - Authorization required
2008-11-28 04:13:41,969 [DEBUG] (HttpMethodDirector.java:662) - enter HttpMethodBase.processAuthenticationResponse(HttpState, HttpConnection)
2008-11-28 04:13:41,970 [DEBUG] (AuthChallengeProcessor.java:90) - Supported authentication schemes in the order of preference: [Digest, Basic]
2008-11-28 04:13:41,970 [DEBUG] (AuthChallengeProcessor.java:111) - Challenge for Digest authentication scheme not available
2008-11-28 04:13:41,971 [INFO ] (AuthChallengeProcessor.java:101) - Basic authentication scheme selected
2008-11-28 04:13:41,971 [DEBUG] (AuthChallengeProcessor.java:155) - Using authentication scheme: basic
2008-11-28 04:13:41,971 [DEBUG] (AuthChallengeProcessor.java:163) - Authorization challenge processed
2008-11-28 04:13:41,972 [DEBUG] (HttpMethodDirector.java:714) - Authentication scope: BASIC 'Subversion Repository'@dev.sourcesense.com:443
2008-11-28 04:13:41,972 [DEBUG] (HttpState.java:436) - enter HttpState.getCredentials(AuthScope)
2008-11-28 04:13:41,972 [DEBUG] (HttpMethodDirector.java:861) - Credentials required
2008-11-28 04:13:41,973 [DEBUG] (HttpMethodDirector.java:879) - Credentials provider not available
2008-11-28 04:13:41,973 [INFO ] (HttpMethodDirector.java:737) - No credentials available for BASIC 'Subversion Repository'@dev.sourcesense.com:443
2008-11-28 04:13:41,973 [DEBUG] (HttpConnection.java:1174) - enter HttpConnection.releaseConnection()
2008-11-28 04:13:41,973 [DEBUG] (HttpConnection.java:1178) - Releasing connection back to connection manager.
2008-11-28 04:13:41,973 [DEBUG] (MultiThreadedHttpConnectionManager.java:630) - enter HttpConnectionManager.releaseConnection(HttpConnection)
2008-11-28 04:13:41,974 [DEBUG] (MultiThreadedHttpConnectionManager.java:979) - Freeing connection, hostConfig=HostConfiguration[host=https://dev.sourcesense.com, proxyHost=http://158.234.101.70:3128]
2008-11-28 04:13:41,974 [DEBUG] (MultiThreadedHttpConnectionManager.java:805) - enter HttpConnectionManager.ConnectionPool.getHostPool(HostConfiguration)
A local Maven install, which bypasses artifactory and connects to this repo at exactly the same way does work.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://www.jfrog.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
|