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

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

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

Abhishek A updated HTTPCLIENT-2137:
-----------------------------------
    Description: 
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

  was:
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


> 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: 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