Change in ovirt-engine-sdk[master]: sdk: Add support for Kerberos authentication

juan.hernandez at redhat.com juan.hernandez at redhat.com
Wed Oct 1 08:34:02 UTC 2014


Juan Hernandez has submitted this change and it was merged.

Change subject: sdk: Add support for Kerberos authentication
......................................................................


sdk: Add support for Kerberos authentication

This patch adds support for Kerberos authentication. To use it the API
object has to be created using the "kerberos" parameter:

  api = ovirtsdk.api.API(
    url="https://ovirt.example.com/ovirt-engine/api",
    kerberos=True,
    ...
  )

For this to succeed the user must have acquired the Kerberos credentials
(the TGT) before calling the Python SDK.

Change-Id: Ic36e8548e5743aca71757eba46e4970976f08911
Bug-Url: https://bugzilla.redhat.com/1145234
Signed-off-by: Juan Hernandez <juan.hernandez at redhat.com>
---
M generator/src/main/java/org/ovirt/engine/sdk/generator/rsdl/templates/EntryPointTemplate
M src/ovirtsdk/api.py
M src/ovirtsdk/infrastructure/connectionspool.py
3 files changed, 31 insertions(+), 16 deletions(-)

Approvals:
  Michael Pasternak: Looks good to me, approved
  Ravi Nori: Looks good to me, but someone else must approve
  Juan Hernandez: Verified



-- 
To view, visit http://gerrit.ovirt.org/33221
To unsubscribe, visit http://gerrit.ovirt.org/settings

Gerrit-MessageType: merged
Gerrit-Change-Id: Ic36e8548e5743aca71757eba46e4970976f08911
Gerrit-PatchSet: 2
Gerrit-Project: ovirt-engine-sdk
Gerrit-Branch: master
Gerrit-Owner: Juan Hernandez <juan.hernandez at redhat.com>
Gerrit-Reviewer: Juan Hernandez <juan.hernandez at redhat.com>
Gerrit-Reviewer: Michael Pasternak <mishka8520 at yahoo.com>
Gerrit-Reviewer: Ravi Nori <rnori at redhat.com>
Gerrit-Reviewer: automation at ovirt.org



More information about the Engine-commits mailing list