[ http://jira.codehaus.org/browse/WAGON-48?page=all ]
     
Carlos Sanchez closed WAGON-48:
-------------------------------

      Assign To: Carlos Sanchez
     Resolution: Fixed
    Fix Version: 1.0-beta-1

Fixed, thanks!

> Authentication code is never called
> -----------------------------------
>
>          Key: WAGON-48
>          URL: http://jira.codehaus.org/browse/WAGON-48
>      Project: wagon
>         Type: Bug

>   Components: wagon-webdav
>     Versions: 1.0-beta-1
>  Environment: Windows XP, Cygwin
>     Reporter: Mark Hobson
>     Assignee: Carlos Sanchez
>      Fix For: 1.0-beta-1
>  Attachments: patch.txt
>
>
> WebDavWagon.openConnection() assumes that a HttpException is thrown if the 
> connection requires authentication, but it appears that is not the case.
> The attached patch always adds any supplied authentication information to the 
> connection, rather than waiting for an exception to be thrown.
> I've also added AuthenticatedWebDavWagonTest to show this works.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira

Reply via email to