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

juan.hernandez at redhat.com juan.hernandez at redhat.com
Thu Jul 17 13:56:04 UTC 2014


Juan Hernandez 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
Related: https://bugzilla.redhat.com/1077441
Signed-off-by: Juan Hernandez <juan.hernandez at redhat.com>
---
M Makefile
M backend/manager/modules/restapi/webapp/src/main/webapp/WEB-INF/web.xml
2 files changed, 4 insertions(+), 1 deletion(-)

Approvals:
  Sandro Bonazzola: Looks good to me, but someone else must approve
  Juan Hernandez: Verified; Looks good to me, approved
  Alexander Wels: Looks good to me, but someone else must approve



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

Gerrit-MessageType: merged
Gerrit-Change-Id: I36140bf236b7043f3b813863ce8db635012a11ce
Gerrit-PatchSet: 2
Gerrit-Project: ovirt-engine
Gerrit-Branch: master
Gerrit-Owner: Juan Hernandez <juan.hernandez at redhat.com>
Gerrit-Reviewer: Alexander Wels <awels at redhat.com>
Gerrit-Reviewer: Juan Hernandez <juan.hernandez at redhat.com>
Gerrit-Reviewer: Sandro Bonazzola <sbonazzo at redhat.com>
Gerrit-Reviewer: automation at ovirt.org
Gerrit-Reviewer: oVirt Jenkins CI Server



More information about the Engine-commits mailing list