Change in ovirt-engine-sdk-java[master]: Add SSO support

juan.hernandez at redhat.com juan.hernandez at redhat.com
Wed Apr 20 11:31:23 UTC 2016


Juan Hernandez has submitted this change and it was merged.

Change subject: Add SSO support
......................................................................


Add SSO support

Use SSO service for authentication.

When authenticating the sdk should obtain access_token from SSO and use
Bearer authentication to access API using the access token.

The SSO access token is revoked at the end of the session to terminate
the session on SSO and clean up the engine session.

Change-Id: I93eefb798b7987ec08ba287f08375c739e19a4ea
Bug-Url: https://bugzilla.redhat.com/1285885
Signed-off-by: Ondra Machacek <omachace at redhat.com>
---
M automation/build-artifacts.packages
M automation/check-patch.packages
M packaging/spec.el7.in
M packaging/spec.fc23.in
M sdk/pom.xml
M sdk/src/main/java/org/ovirt/engine/sdk4/ConnectionBuilder.java
M sdk/src/main/java/org/ovirt/engine/sdk4/internal/ConnectionBuilder42.java
M sdk/src/main/java/org/ovirt/engine/sdk4/internal/ConnectionBuilder45.java
M sdk/src/main/java/org/ovirt/engine/sdk4/internal/HttpConnection.java
A sdk/src/main/java/org/ovirt/engine/sdk4/internal/SsoUtils.java
10 files changed, 287 insertions(+), 50 deletions(-)

Approvals:
  Ondra Machacek: Verified
  Juan Hernandez: Looks good to me, approved
  Ravi Nori: Looks good to me, but someone else must approve
  Jenkins CI: Passed CI tests



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

Gerrit-MessageType: merged
Gerrit-Change-Id: I93eefb798b7987ec08ba287f08375c739e19a4ea
Gerrit-PatchSet: 12
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: Ravi Nori <rnori at redhat.com>
Gerrit-Reviewer: gerrit-hooks <automation at ovirt.org>



More information about the Engine-commits mailing list