Change in ovirt-engine-sdk-java[master]: Add support to use java default trustore

omachace at redhat.com omachace at redhat.com
Fri May 13 12:38:34 UTC 2016


Ondra Machacek has submitted this change and it was merged.

Change subject: Add support to use java default trustore
......................................................................


Add support to use java default trustore

If you don't specify `trustStoreFile` when creating connection,
then default java truststore location is used, which is defined
by `javax.net.ssl.trustStore` system property.

If `javax.net.ssl.trustStore` is not specified, it searches for
and uses a keystore file in the following locations (in order):

    1) $JAVA_HOME/lib/security/jssecacerts
    2) $JAVA_HOME/lib/security/cacerts

Change-Id: I5ec6e2a6e2470542ac88be1962e9df6e5a955625
Signed-off-by: Ondra Machacek <omachace at redhat.com>
---
M sdk/README.adoc
M sdk/src/main/java/org/ovirt/engine/sdk4/ConnectionBuilder.java
M sdk/src/main/java/org/ovirt/engine/sdk4/internal/ConnectionBuilder45.java
M sdk/src/test/java/org/ovirt/engine/sdk4/ConnectionCreateTest.java
4 files changed, 13 insertions(+), 10 deletions(-)

Approvals:
  Ondra Machacek: Verified; Looks good to me, approved
  Jenkins CI: Passed CI tests



-- 
To view, visit https://gerrit.ovirt.org/57411
To unsubscribe, visit https://gerrit.ovirt.org/settings

Gerrit-MessageType: merged
Gerrit-Change-Id: I5ec6e2a6e2470542ac88be1962e9df6e5a955625
Gerrit-PatchSet: 2
Gerrit-Project: ovirt-engine-sdk-java
Gerrit-Branch: master
Gerrit-Owner: Ondra Machacek <omachace at redhat.com>
Gerrit-Reviewer: Jenkins CI
Gerrit-Reviewer: Juan Hernandez <juan.hernandez at redhat.com>
Gerrit-Reviewer: Ondra Machacek <omachace at redhat.com>
Gerrit-Reviewer: gerrit-hooks <automation at ovirt.org>



More information about the Engine-commits mailing list