You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hc.apache.org by "Oleg Kalnichevski (Jira)" <ji...@apache.org> on 2021/02/13 20:41:00 UTC

[jira] [Comment Edited] (HTTPCLIENT-2137) PrivateKeyStrategy does not work in JRE 271

    [ https://issues.apache.org/jira/browse/HTTPCLIENT-2137?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17284285#comment-17284285 ] 

Oleg Kalnichevski edited comment on HTTPCLIENT-2137 at 2/13/21, 8:40 PM:
-------------------------------------------------------------------------

> Custom PrivateKeyStrategy chooseAlias(Map<String, PrivateKeyDetails> aliases, Socket socket) is not called in JRE 1.8.0_271

[~aa_12345] How is that our fault? [~michael-o] I do not think there is anything for us to check. This bug is clearly misplaced.

Oleg


was (Author: olegk):
> Custom PrivateKeyStrategy chooseAlias(Map<String, PrivateKeyDetails> aliases, Socket socket) is not called in JRE 1.8.0_271

[~aa_12345] How is that out fault? [~michael-o] I do not think there is anything for us to check. This bug is clearly misplaced.

Oleg

> PrivateKeyStrategy does not work in JRE 271 
> --------------------------------------------
>
>                 Key: HTTPCLIENT-2137
>                 URL: https://issues.apache.org/jira/browse/HTTPCLIENT-2137
>             Project: HttpComponents HttpClient
>          Issue Type: Bug
>    Affects Versions: 4.4.1, 4.5.6
>            Reporter: Abhishek A
>            Priority: Major
>         Attachments: JARs.jpg, PrivateKeyStrategy_IMPL.txt
>
>
> Custom PrivateKeyStrategy chooseAlias(Map<String, PrivateKeyDetails> aliases, Socket socket) is not called in JRE 1.8.0_271
> However, it is called properly in JRE 1.8.0_251
> chooseAlias() method has been overridden (referred StackOverflow) to consider Smart Card Authentication certificate but it is just not called after the JRE upgrade from 251 to 271 :(
> Please refer attachment for code & JARs used



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

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