[ 
https://issues.apache.org/jira/browse/HTTPCLIENT-1517?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Sebastian Brabänder updated HTTPCLIENT-1517:
--------------------------------------------

    Attachment: httpcomponents-client_Negotiate_CNAME_Resolve_2_DNS.patch
                httpcomponents-client_Negotiate_CNAME_Resolve_2.patch

Hi Oleg,

i have split the patch in two parts:
Part one Resolve_2 Patch modifies the GGSSchemeBase, Spnego and Kerberos 
implementation.
Resolve_2_DNS modifies the DNSResolver interface. 

I have copied the method resolveCanonicalHostname into GGSSchemeBase, to do the 
DNS lookups needed. So we can change the DNSResolver Interface in the next 
httpclient major version release.

The patches are compiling but not tested. The old patches are tested and 
working. So this code should also work. I hope i can test the new patches 
tomorrow.

Sebastian

> Strip Porty by default setup and strip ports by default ports 80,443, also 
> use canonical hostname to create kerberos / gssapi context
> -------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: HTTPCLIENT-1517
>                 URL: https://issues.apache.org/jira/browse/HTTPCLIENT-1517
>             Project: HttpComponents HttpClient
>          Issue Type: Improvement
>    Affects Versions: 4.3.3
>            Reporter: Sebastian Brabänder
>            Priority: Minor
>              Labels: Canonical, GSSAPI, Hostname, Kerberos,, SPNego
>             Fix For: 4.4 Final
>
>         Attachments: httpcomponents-client_Negotiate.patch, 
> httpcomponents-client_Negotiate_CNAME_Resolve.patch, 
> httpcomponents-client_Negotiate_CNAME_Resolve_2.patch, 
> httpcomponents-client_Negotiate_CNAME_Resolve_2_DNS.patch
>
>
> This patch changes to the default support of stripping ports by kerberos and 
> SPNego Context. This patch enables also the support of canonical hostnames in 
> kerberos context.



--
This message was sent by Atlassian JIRA
(v6.2#6252)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to