hc-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Michael Osipov (JIRA)" <j...@apache.org>
Subject [jira] [Created] (HTTPCLIENT-1570) GGSSchemeBase blindly assumes that SPNEGO is always used
Date Tue, 14 Oct 2014 19:23:34 GMT
Michael Osipov created HTTPCLIENT-1570:
------------------------------------------

             Summary: GGSSchemeBase blindly assumes that SPNEGO is always used
                 Key: HTTPCLIENT-1570
                 URL: https://issues.apache.org/jira/browse/HTTPCLIENT-1570
             Project: HttpComponents HttpClient
          Issue Type: Bug
          Components: HttpAuth
    Affects Versions: 4.4 Beta1
            Reporter: Michael Osipov


Lines 248 to 249 say:

{code}
buffer.append(": Negotiate ");
buffer.append(tokenstr);
{code}

This is incorrect. Since this is an abstract class the actual scheme must be passed by the
extending class through the super constructor. Same applies for the {{getSchemeName}} method.
Correct behavior is implemented in the {{httpclient-win}} module and can be used as a template.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@hc.apache.org
For additional commands, e-mail: dev-help@hc.apache.org


Mime
View raw message