[
https://issues.apache.org/jira/browse/HTTPCLIENT-1712?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15098083#comment-15098083
]
Oleg Kalnichevski commented on HTTPCLIENT-1712:
-----------------------------------------------
Georg,
One can pull the route (which includes the scheme) of the request from the HTTP
context. Alternatively one could use
{{ManagedHttpClientConnection#getSSLSession}} to get hold of the SSL session if
available. Hope this helps
Oleg
> SPNego Authentication to HTTPS service
> --------------------------------------
>
> Key: HTTPCLIENT-1712
> URL: https://issues.apache.org/jira/browse/HTTPCLIENT-1712
> Project: HttpComponents HttpClient
> Issue Type: Bug
> Components: HttpAuth
> Affects Versions: 4.5.1
> Reporter: Georg Romstorfer
> Priority: Minor
>
> When connecting with the HttpClient to a website through the HTTPS-Protocol,
> SPNego Authentication does not work, because in the method
> GGSSchemeBase#generateGSSToken is the service name hardcoded to HTTP.
> A workaround is to extend the class SPNegoScheme and override this method.
> To fix this, I think it would be best to get the protocol from the current
> connection, but I don't how to get the connection in this class, so I can't
> provide a patch.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]