Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Deprecated constructor is used. #368

Open
silverskyvicto opened this issue Aug 22, 2020 · 0 comments
Open

Deprecated constructor is used. #368

silverskyvicto opened this issue Aug 22, 2020 · 0 comments

Comments

@silverskyvicto
Copy link
Contributor

silverskyvicto commented Aug 22, 2020

KeyStoreParameters(String name, String type, String keyStoreProvider, String keyMetaDataFileLocation, String location) is deprecated.

KeyStoreParameters keyStoreParameters = new KeyStoreParameters("SSL Key Store", "JCEKS", null, "ssl-keystore-passwords.properties", "ssl.repo.client.keystore");

KeyStoreParameters trustStoreParameters = new KeyStoreParameters("SSL Trust Store", "JCEKS", null, "ssl-truststore-passwords.properties", "ssl.repo.client.truststore");

So it would be nice to use KeyStoreParameters(String name, String type, String keyStoreProvider, String keyMetaDataFileLocation, String location).

Reference:
https://github.com/Alfresco/alfresco-core/blob/bbe800b087cbf5b2d3e7f41e0c196e3b3f5d422f/src/main/java/org/alfresco/encryption/KeyStoreParameters.java#L73

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant