[
https://issues.apache.org/jira/browse/JCLOUDS-838?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14358525#comment-14358525
]
Francesco Chicchiriccò commented on JCLOUDS-838:
------------------------------------------------
Results from IRC conversation with [~nacx]:
* about introducing BouncyCastle dependency: there is an [existing JClouds
driver|https://github.com/jclouds/jclouds-labs/blob/master/docker/pom.xml#L76-L80]
* in order to remove deprecation, the idea is to apply the same approach taken
[here|https://github.com/jclouds/jclouds-labs/blob/master/docker/src/main/java/org/jclouds/docker/suppliers/SSLContextWithKeysSupplier.java],
but without using filesystem (as required above)
* about supporting different authentication methods (PKCS12 + password /
certificate + private key) the
[AbiquoAuthenticationModule|https://github.com/jclouds/jclouds-labs/blob/master/abiquo/src/main/java/org/jclouds/abiquo/config/AbiquoAuthenticationModule.java]
can be takes an reference.
> Avoid deprecation
> -----------------
>
> Key: JCLOUDS-838
> URL: https://issues.apache.org/jira/browse/JCLOUDS-838
> Project: jclouds
> Issue Type: Sub-task
> Components: jclouds-compute, jclouds-labs
> Reporter: Francesco Chicchiriccò
> Assignee: Francesco Chicchiriccò
> Fix For: 2.0.0
>
>
> Two classes are marked as {{@Deprecated}} but still used:
> * {{KeyStoreSupplier}}
> * {{SSLContextWithKeysSupplier}}
> The TODO comment on top of both says
> {quote}
> this code needs to be completely refactored. It needs to stop using KeyStore
> of at all possible and definitely the local filesystem. Please look at oauth
> for examples on how to do this via PEMs.
> {quote}
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)