Michael Pasternak has submitted this change and it was merged.
Change subject: sdk: implement host CA certificate validation
......................................................................
sdk: implement host CA certificate validation
oVirt Java-SDK provides now full support for HTTP over Secure Sockets Layer (SSL)
or IETF Transport Layer Security (TLS) protocols by leveraging the Java Secure Socket
Extension (JSSE). JSSE has been integrated into the Java 2 platform as of version 1.4
and works with Java-SDK out of the box. On older Java 2 versions JSSE needs to be
manually
installed and configured.
Once you have JSSE correctly installed, secure HTTP communication over SSL should be as
simple as plain HTTP communication, however SDK need to be supplied with KeyStore
containing
host CA certeficate in order to validate the destination host identity, more details can
be
found at [1]
[1]
http://www.ovirt.org/Java-sdk#Working_with_SSL_.28Secure_Socket_Layer.29
Change-Id: Ibb8bb422a21e1f2c1263835e7d650e1e1a3633d2
Signed-off-by: Michael pasternak <mpastern(a)redhat.com>
---
M
ovirt-engine-sdk-java-codegen/src/main/java/org/ovirt/engine/sdk/codegen/templates/ApiTemplate
M ovirt-engine-sdk-java/src/main/java/org/ovirt/engine/sdk/Api.java
A
ovirt-engine-sdk-java/src/main/java/org/ovirt/engine/sdk/exceptions/ProtocolException.java
A
ovirt-engine-sdk-java/src/main/java/org/ovirt/engine/sdk/exceptions/SocketFactoryException.java
M
ovirt-engine-sdk-java/src/main/java/org/ovirt/engine/sdk/web/ConnectionsPoolBuilder.java
5 files changed, 445 insertions(+), 16 deletions(-)
Approvals:
Michael Pasternak: Verified; Looks good to me, approved
--
To view, visit
http://gerrit.ovirt.org/16538
To unsubscribe, visit
http://gerrit.ovirt.org/settings
Gerrit-MessageType: merged
Gerrit-Change-Id: Ibb8bb422a21e1f2c1263835e7d650e1e1a3633d2
Gerrit-PatchSet: 3
Gerrit-Project: ovirt-engine-sdk-java
Gerrit-Branch: master
Gerrit-Owner: Michael Pasternak <mpastern(a)redhat.com>
Gerrit-Reviewer: Michael Pasternak <mpastern(a)redhat.com>