Kanagaraj M has submitted this change and it was merged.

Change subject: restapi: set Application mode in current when session is reused
......................................................................


restapi: set Application mode in current when session is reused

   When client calls REST API with 'prefer: persistent-auth'
header and valid session ID, LoginValidator.validate(String sessionId)
will be called. But in this case application mode is not being
set in Current. Because of this, rsdl is returned with all the
links includeing data center and vm though the engine is running
only in GlusterOnly mode.

Change-Id: I972d62e2bad77b6674bf8666ed4aa041bf8319e0
Bug-Url: https://bugzilla.redhat.com/1042740
Signed-off-by: Ramesh Nachimuthu <[email protected]>
---
M 
backend/manager/modules/restapi/jaxrs/src/main/java/org/ovirt/engine/api/restapi/security/auth/LoginValidator.java
M 
backend/manager/modules/restapi/jaxrs/src/test/java/org/ovirt/engine/api/restapi/security/auth/LoginValidatorTest.java
2 files changed, 8 insertions(+), 0 deletions(-)

Approvals:
  Kanagaraj M: Looks good to me, approved
  Ramesh N: Verified



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

Gerrit-MessageType: merged
Gerrit-Change-Id: I972d62e2bad77b6674bf8666ed4aa041bf8319e0
Gerrit-PatchSet: 4
Gerrit-Project: ovirt-engine
Gerrit-Branch: master
Gerrit-Owner: Ramesh N <[email protected]>
Gerrit-Reviewer: Kanagaraj M <[email protected]>
Gerrit-Reviewer: Michael Pasternak <[email protected]>
Gerrit-Reviewer: Ori Liel <[email protected]>
Gerrit-Reviewer: Ramesh N <[email protected]>
Gerrit-Reviewer: Sahina Bose <[email protected]>
Gerrit-Reviewer: Shubhendu Tripathi <[email protected]>
Gerrit-Reviewer: oVirt Jenkins CI Server
_______________________________________________
Engine-patches mailing list
[email protected]
http://lists.ovirt.org/mailman/listinfo/engine-patches

Reply via email to