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

Abhishek A commented on HTTPCLIENT-2137:
----------------------------------------

Thanks for your responses. I tried upgrading to the latest ver5 but it involves 
heavy changes to the code since the package names have changed (for eg. core5, 
client5, etc).
Please pardon my limited exposure in this domain. But can you please help me 
out with the way forward, we are really not getting why the method 
chooseAlias() is not called in JRE v271. Is there some other way I can force 
the use of the chooseAlias() method

Please help !!!

> 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: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to