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:58:00 UTC

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

Abhishek A created HTTPCLIENT-2137:
--------------------------------------

             Summary: 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.5.6, 4.4.1
            Reporter: Abhishek A
         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



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