Change in ovirt-engine[master]: aaa: SSO token used for the API expires when running only qu...

Code Review gerrit at ovirt.org
Thu Mar 23 07:58:18 UTC 2017


>From Martin Peřina <mperina at redhat.com>:

Martin Peřina has submitted this change and it was merged.

Change subject: aaa: SSO token used for the API expires when running only queries
......................................................................


aaa: SSO token used for the API expires when running only queries

When tokens with sso scope ovirt-app-api
is used to execute queries it should refresh
the session. If the scope contains the webadmin
scope ovirt-app-admin or userportal scope
ovirt-app-portal the queries should not refresh
the session.

Change-Id: Ida5f545c1b505f429fd25da09a9570a1bd71adfb
Bug-Url: https://bugzilla.redhat.com/1434605
Signed-off-by: Ravi Nori <rnori at redhat.com>
---
M backend/manager/modules/aaa/src/main/java/org/ovirt/engine/core/aaa/SsoUtils.java
M backend/manager/modules/aaa/src/main/java/org/ovirt/engine/core/aaa/servlet/SsoPostLoginServlet.java
M backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/QueriesCommandBase.java
M backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/aaa/CreateUserSessionCommand.java
M backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/aaa/SessionDataContainer.java
M backend/manager/modules/common/src/main/java/org/ovirt/engine/core/common/action/CreateUserSessionParameters.java
M backend/manager/modules/common/src/main/java/org/ovirt/engine/core/common/constants/SessionConstants.java
7 files changed, 38 insertions(+), 1 deletion(-)

Approvals:
  Martin Peřina: Looks good to me, approved
  Juan Hernandez: Looks good to me, but someone else must approve
  Ravi Nori: Verified
  Jenkins CI: Passed CI tests



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

Gerrit-MessageType: merged
Gerrit-Change-Id: Ida5f545c1b505f429fd25da09a9570a1bd71adfb
Gerrit-PatchSet: 2
Gerrit-Project: ovirt-engine
Gerrit-Branch: master
Gerrit-Owner: Ravi Nori <rnori at redhat.com>
Gerrit-Reviewer: Jenkins CI
Gerrit-Reviewer: Juan Hernandez <juan.hernandez at redhat.com>
Gerrit-Reviewer: Martin Peřina <mperina 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