jdk/test/sun/net/www/protocol/https/HttpsClient/ProxyAuthTest.java
changeset 43505 dbb07ad63c71
parent 42466 321b4a747cec
equal deleted inserted replaced
43503:bc7f8619ab70 43505:dbb07ad63c71
     1 /*
     1 /*
     2  * Copyright (c) 2001, 2016, Oracle and/or its affiliates. All rights reserved.
     2  * Copyright (c) 2001, 2017, Oracle and/or its affiliates. All rights reserved.
     3  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
     3  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
     4  *
     4  *
     5  * This code is free software; you can redistribute it and/or modify it
     5  * This code is free software; you can redistribute it and/or modify it
     6  * under the terms of the GNU General Public License version 2 only, as
     6  * under the terms of the GNU General Public License version 2 only, as
     7  * published by the Free Software Foundation.
     7  * published by the Free Software Foundation.
    29 /*
    29 /*
    30  * @test
    30  * @test
    31  * @bug 4323990 4413069 8160838
    31  * @bug 4323990 4413069 8160838
    32  * @summary HttpsURLConnection doesn't send Proxy-Authorization on CONNECT
    32  * @summary HttpsURLConnection doesn't send Proxy-Authorization on CONNECT
    33  *     Incorrect checking of proxy server response
    33  *     Incorrect checking of proxy server response
    34  * @modules java.base/sun.net.www
    34  * @modules jdk.crypto.ec
       
    35  *          java.base/sun.net.www
    35  * @library /javax/net/ssl/templates
    36  * @library /javax/net/ssl/templates
    36  * @run main/othervm ProxyAuthTest fail
    37  * @run main/othervm ProxyAuthTest fail
    37  * @run main/othervm -Djdk.http.auth.tunneling.disabledSchemes=Basic
    38  * @run main/othervm -Djdk.http.auth.tunneling.disabledSchemes=Basic
    38  *      ProxyAuthTest fail
    39  *      ProxyAuthTest fail
    39  * @run main/othervm -Djdk.http.auth.tunneling.disabledSchemes=Basic,
    40  * @run main/othervm -Djdk.http.auth.tunneling.disabledSchemes=Basic,