Change in ovirt-engine[master]: restapi: Fix access to current user

juan.hernandez at redhat.com juan.hernandez at redhat.com
Fri Jul 18 07:46:41 UTC 2014


Juan Hernandez has submitted this change and it was merged.

Change subject: restapi: Fix access to current user
......................................................................


restapi: Fix access to current user

The code that extracts the current user from the backend stores
VdcQueryReturnValue instead of the DbUser it contains. As a result
several places where the user is needed fail with a NPE, as no object is
found assciated to the DbUser class.

Change-Id: I2dae86a0ab152df2971f55d663cf44f4d239f5e9
Bug-Url: https://bugzilla.redhat.com/1119862
Signed-off-by: Juan Hernandez <juan.hernandez at redhat.com>
---
M backend/manager/modules/restapi/jaxrs/src/main/java/org/ovirt/engine/api/restapi/security/auth/SessionProcessor.java
1 file changed, 1 insertion(+), 1 deletion(-)

Approvals:
  Juan Hernandez: Verified; Looks good to me, approved



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

Gerrit-MessageType: merged
Gerrit-Change-Id: I2dae86a0ab152df2971f55d663cf44f4d239f5e9
Gerrit-PatchSet: 1
Gerrit-Project: ovirt-engine
Gerrit-Branch: master
Gerrit-Owner: Juan Hernandez <juan.hernandez at redhat.com>
Gerrit-Reviewer: Juan Hernandez <juan.hernandez at redhat.com>
Gerrit-Reviewer: Yair Zaslavsky <yzaslavs at redhat.com>
Gerrit-Reviewer: automation at ovirt.org
Gerrit-Reviewer: oVirt Jenkins CI Server



More information about the Engine-commits mailing list