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(a)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(a)redhat.com>
Gerrit-Reviewer: Jenkins CI
Gerrit-Reviewer: Juan Hernandez <juan.hernandez(a)redhat.com>
Gerrit-Reviewer: Ondra Machacek <omachace(a)redhat.com>
Gerrit-Reviewer: Ravi Nori <rnori(a)redhat.com>
Gerrit-Reviewer: gerrit-hooks <automation(a)ovirt.org>