[
https://issues.apache.org/jira/browse/HTTPCLIENT-1156?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Paulo Rodrigues updated HTTPCLIENT-1156:
----------------------------------------
Attachment: TestSPENGO.java
it really should be called TestKerberos.java, but it is not.
> Kerberos Authentication Scheme
> ------------------------------
>
> Key: HTTPCLIENT-1156
> URL: https://issues.apache.org/jira/browse/HTTPCLIENT-1156
> Project: HttpComponents HttpClient
> Issue Type: Improvement
> Components: HttpClient
> Affects Versions: 4.1.2
> Environment: Microsoft IIS
> Reporter: Paulo Rodrigues
> Priority: Minor
> Attachments: KerberosScheme.java, KerberosSchemeFactory.java,
> TestSPENGO.java
>
> Original Estimate: 1h
> Remaining Estimate: 1h
>
> HttpClient 4.1.2 has a SPNEGO authentication that uses the Negotiate keyword.
> But the MS IIS that I must connect to does not send back an
> WWW-Authenticate: Negotiate, but, instead, does send an WWW-Authenticate:
> Kerberos
> So I used the NegotiateScheme.java and NegotiateSchemeFactory.java as a base
> to create a "new" scheme, called, KerberosScheme.java and
> KerberosSchemeFactory.java to make it work.
> Essentially I replaced every "Negotiate" scheme by "Kerberos", in the
> KerberosScheme.java, and removed the part of the code that tried, first,
> SPNEGO_OID, using KERBEROS_OID directly, instead.
> It works fine for me, but took me a while to figure this out.
> That why I think it could come on the new versions.
> I'll attach my version but it has no package - it was made only for a test
> project. It's trivial to put it in the right place/package.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]