Change in ovirt-engine[ovirt-engine-3.5]: restapi: Different realms for different URLs

piotr.kliczewski at gmail.com piotr.kliczewski at gmail.com
Fri Jul 18 06:51:52 UTC 2014


Piotr Kliczewski has submitted this change and it was merged.

Change subject: restapi: Different realms for different URLs
......................................................................


restapi: Different realms for different URLs

Currently we deploy the RESTAPI application twice, once for the /api URL
and another time for the /ovirt-engine/api URL. But both deployments use
the same basic authentication realm. As a result when a browser
authenticates with one URL it will be automatically authenticated with
the other one, as the browser will remember the credentials and send
them automatically if the realm is the same. To avoid this issue this
patch changes the names of the realms, so that they will be different.

Change-Id: I36140bf236b7043f3b813863ce8db635012a11ce
Bug-Url: https://bugzilla.redhat.com/1077441
Signed-off-by: Juan Hernandez <juan.hernandez at redhat.com>
(cherry picked from commit 94583560f705e2cbf0dde33c306a9c17add96dd4)
---
M Makefile
M backend/manager/modules/restapi/webapp/src/main/webapp/WEB-INF/web.xml
2 files changed, 4 insertions(+), 1 deletion(-)

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



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

Gerrit-MessageType: merged
Gerrit-Change-Id: I36140bf236b7043f3b813863ce8db635012a11ce
Gerrit-PatchSet: 2
Gerrit-Project: ovirt-engine
Gerrit-Branch: ovirt-engine-3.5
Gerrit-Owner: Juan Hernandez <juan.hernandez at redhat.com>
Gerrit-Reviewer: Juan Hernandez <juan.hernandez at redhat.com>
Gerrit-Reviewer: Piotr Kliczewski <piotr.kliczewski at gmail.com>
Gerrit-Reviewer: automation at ovirt.org



More information about the Engine-commits mailing list