You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@ant.apache.org by "Kelly Schoenhofen (JIRA)" <ji...@apache.org> on 2013/01/31 16:57:13 UTC

[jira] [Created] (IVY-1402) http authentication is disabled

Kelly Schoenhofen created IVY-1402:
--------------------------------------

             Summary: http authentication is disabled
                 Key: IVY-1402
                 URL: https://issues.apache.org/jira/browse/IVY-1402
             Project: Ivy
          Issue Type: Bug
          Components: Ant
    Affects Versions: 2.3.0
         Environment: Ubuntu 12.10, Any 1.8.2, Ivy 2.3.0 release. 
            Reporter: Kelly Schoenhofen


When I try to publish to a Sonatype Nexus server, with <credentials/> fully populated, according to the Nexus debug logs, the header was empty, so it goes with anonymous. According to ant -debug, at the end of the deliver block:
Jan 31, 2013 9:41:36 AM org.apache.commons.httpclient.HttpMethodDirector isAuthenticationNeeded
INFO: Authentication requested but doAuthentication is disabled

Why is doAuthentication disabled? How can I enable it? I have all the 2.3.0 dependencies in the lib folder of the project, so it uses its commons-httpclient-3.0.jar rather then the jdk (which doesn't support http auth, apparently?)

Until I put commons-httpclient-3.0.jar into its lib/classpath folder, it wasn't even trying. Now it says requested but doAuthentication is disabled. 


--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira