You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@harmony.apache.org by "Alexander Kleymenov (JIRA)" <ji...@apache.org> on 2006/06/20 09:55:29 UTC

[jira] Created: (HARMONY-624) [classlib][luni] HttpURLConnection does not send proxy authorization credentials

[classlib][luni] HttpURLConnection does not send proxy authorization credentials
--------------------------------------------------------------------------------

         Key: HARMONY-624
         URL: http://issues.apache.org/jira/browse/HARMONY-624
     Project: Harmony
        Type: Bug

    Reporter: Alexander Kleymenov
 Attachments: bugtest.java

Current HttpURLConnection implementation does not send proxy authorization credentials if they are requested by server.

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


[jira] Updated: (HARMONY-624) [classlib][luni] HttpURLConnection does not send proxy authorization credentials

Posted by "Alexander Kleymenov (JIRA)" <ji...@apache.org>.
     [ http://issues.apache.org/jira/browse/HARMONY-624?page=all ]

Alexander Kleymenov updated HARMONY-624:
----------------------------------------

    Attachment: bugtest.java

Attached BugTest demonstrates the problem. RI output on it is:

ProxyServer ACCEPTED connection
ProxyServer got request
ProxyServer sent proxy authentication request
ProxyServer ACCEPTED new connection
ProxyServer got authorized request
ProxyServer sent OK responce
Connection got responce code: 200
Connection sent authorized proxy request: true
PASSED

but Harmony acts as follows:

ProxyServer ACCEPTED connection
ProxyServer got request
ProxyServer sent proxy authentication request
Connection got responce code: 407
Connection sent authorized proxy request: false
FAILED

> [classlib][luni] HttpURLConnection does not send proxy authorization credentials
> --------------------------------------------------------------------------------
>
>          Key: HARMONY-624
>          URL: http://issues.apache.org/jira/browse/HARMONY-624
>      Project: Harmony
>         Type: Bug

>     Reporter: Alexander Kleymenov
>  Attachments: bugtest.java
>
> Current HttpURLConnection implementation does not send proxy authorization credentials if they are requested by server.

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


[jira] Assigned: (HARMONY-624) [classlib][luni] HttpURLConnection does not send proxy authorization credentials

Posted by "Tim Ellison (JIRA)" <ji...@apache.org>.
     [ http://issues.apache.org/jira/browse/HARMONY-624?page=all ]

Tim Ellison reassigned HARMONY-624:
-----------------------------------

    Assign To: Tim Ellison

> [classlib][luni] HttpURLConnection does not send proxy authorization credentials
> --------------------------------------------------------------------------------
>
>          Key: HARMONY-624
>          URL: http://issues.apache.org/jira/browse/HARMONY-624
>      Project: Harmony
>         Type: Bug

>     Reporter: Alexander Kleymenov
>     Assignee: Tim Ellison
>  Attachments: bugtest.java, proxy_auth_patch.txt
>
> Current HttpURLConnection implementation does not send proxy authorization credentials if they are requested by server.

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


[jira] Closed: (HARMONY-624) [classlib][luni] HttpURLConnection does not send proxy authorization credentials

Posted by "Tim Ellison (JIRA)" <ji...@apache.org>.
     [ http://issues.apache.org/jira/browse/HARMONY-624?page=all ]
     
Tim Ellison closed HARMONY-624:
-------------------------------


Verified by Alexander.


> [classlib][luni] HttpURLConnection does not send proxy authorization credentials
> --------------------------------------------------------------------------------
>
>          Key: HARMONY-624
>          URL: http://issues.apache.org/jira/browse/HARMONY-624
>      Project: Harmony
>         Type: Bug

>     Reporter: Alexander Kleymenov
>     Assignee: Tim Ellison
>  Attachments: bugtest.java, proxy_auth_patch.txt
>
> Current HttpURLConnection implementation does not send proxy authorization credentials if they are requested by server.

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


[jira] Updated: (HARMONY-624) [classlib][luni] HttpURLConnection does not send proxy authorization credentials

Posted by "Alexander Kleymenov (JIRA)" <ji...@apache.org>.
     [ http://issues.apache.org/jira/browse/HARMONY-624?page=all ]

Alexander Kleymenov updated HARMONY-624:
----------------------------------------

    Attachment: proxy_auth_patch.txt

Attached patch fixes this problem and implements regression test.

> [classlib][luni] HttpURLConnection does not send proxy authorization credentials
> --------------------------------------------------------------------------------
>
>          Key: HARMONY-624
>          URL: http://issues.apache.org/jira/browse/HARMONY-624
>      Project: Harmony
>         Type: Bug

>     Reporter: Alexander Kleymenov
>  Attachments: bugtest.java, proxy_auth_patch.txt
>
> Current HttpURLConnection implementation does not send proxy authorization credentials if they are requested by server.

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


[jira] Commented: (HARMONY-624) [classlib][luni] HttpURLConnection does not send proxy authorization credentials

Posted by "Alexander Kleymenov (JIRA)" <ji...@apache.org>.
    [ http://issues.apache.org/jira/browse/HARMONY-624?page=comments#action_12417029 ] 

Alexander Kleymenov commented on HARMONY-624:
---------------------------------------------

Looks fine. Thank You!

> [classlib][luni] HttpURLConnection does not send proxy authorization credentials
> --------------------------------------------------------------------------------
>
>          Key: HARMONY-624
>          URL: http://issues.apache.org/jira/browse/HARMONY-624
>      Project: Harmony
>         Type: Bug

>     Reporter: Alexander Kleymenov
>     Assignee: Tim Ellison
>  Attachments: bugtest.java, proxy_auth_patch.txt
>
> Current HttpURLConnection implementation does not send proxy authorization credentials if they are requested by server.

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


[jira] Resolved: (HARMONY-624) [classlib][luni] HttpURLConnection does not send proxy authorization credentials

Posted by "Tim Ellison (JIRA)" <ji...@apache.org>.
     [ http://issues.apache.org/jira/browse/HARMONY-624?page=all ]
     
Tim Ellison resolved HARMONY-624:
---------------------------------

    Resolution: Fixed

Thanks Alexander,

Patch applied to LUNI module org\apache\harmony\luni\internal\net\www\protocol\http\HttpURLConnection.java at repo revision r415701.

Please check that the patch was applied as you expected.



> [classlib][luni] HttpURLConnection does not send proxy authorization credentials
> --------------------------------------------------------------------------------
>
>          Key: HARMONY-624
>          URL: http://issues.apache.org/jira/browse/HARMONY-624
>      Project: Harmony
>         Type: Bug

>     Reporter: Alexander Kleymenov
>     Assignee: Tim Ellison
>  Attachments: bugtest.java, proxy_auth_patch.txt
>
> Current HttpURLConnection implementation does not send proxy authorization credentials if they are requested by server.

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