src/java.base/unix/classes/sun/net/www/protocol/http/ntlm/NTLMAuthentication.java
branchJDK-8229867-branch
changeset 57968 8595871a5446
parent 53328 dff86e25073f
equal deleted inserted replaced
57966:e89c7aaf2906 57968:8595871a5446
   223      *          HeaderParser converts the fields to lower case, use raw instead
   223      *          HeaderParser converts the fields to lower case, use raw instead
   224      * @param raw The raw header field.
   224      * @param raw The raw header field.
   225      * @return true if all goes well, false if no headers were set.
   225      * @return true if all goes well, false if no headers were set.
   226      */
   226      */
   227     @Override
   227     @Override
   228     public synchronized boolean setHeaders(HttpURLConnection conn, HeaderParser p, String raw) {
   228     public boolean setHeaders(HttpURLConnection conn, HeaderParser p, String raw) {
   229 
   229 
   230         try {
   230         try {
   231             String response;
   231             String response;
   232             if (raw.length() < 6) { /* NTLM<sp> */
   232             if (raw.length() < 6) { /* NTLM<sp> */
   233                 response = buildType1Msg ();
   233                 response = buildType1Msg ();