Shubhendu Tripathi has uploaded a new change for review.

Change subject: restapi, userportal, webadmin: secure cookie
......................................................................

restapi, userportal, webadmin: secure cookie

Added secure cookie for session in webadmin, userportal and rest api

Change-Id: I5a7ac7788180532d1aa259f6cef20c43733e0ab1
Bug-Url: https://bugzilla.redhat.com/1105490
Signed-off-by: Shubhendu Tripathi <shtri...@redhat.com>
---
M backend/manager/modules/restapi/webapp/src/main/webapp/WEB-INF/web.xml
M frontend/webadmin/modules/userportal-gwtp/src/main/webapp/WEB-INF/web.xml
M frontend/webadmin/modules/webadmin/src/main/webapp/WEB-INF/web.xml
3 files changed, 3 insertions(+), 0 deletions(-)


  git pull ssh://gerrit.ovirt.org:29418/ovirt-engine refs/changes/89/40189/1

diff --git 
a/backend/manager/modules/restapi/webapp/src/main/webapp/WEB-INF/web.xml 
b/backend/manager/modules/restapi/webapp/src/main/webapp/WEB-INF/web.xml
index a2a4b32..e11d33b 100644
--- a/backend/manager/modules/restapi/webapp/src/main/webapp/WEB-INF/web.xml
+++ b/backend/manager/modules/restapi/webapp/src/main/webapp/WEB-INF/web.xml
@@ -137,6 +137,7 @@
     <session-timeout>180</session-timeout>
     <cookie-config>
       <http-only>true</http-only>
+      <secure>false</secure>
     </cookie-config>
   </session-config>
 
diff --git 
a/frontend/webadmin/modules/userportal-gwtp/src/main/webapp/WEB-INF/web.xml 
b/frontend/webadmin/modules/userportal-gwtp/src/main/webapp/WEB-INF/web.xml
index e3903cd..b5c067d 100644
--- a/frontend/webadmin/modules/userportal-gwtp/src/main/webapp/WEB-INF/web.xml
+++ b/frontend/webadmin/modules/userportal-gwtp/src/main/webapp/WEB-INF/web.xml
@@ -162,6 +162,7 @@
     <session-config>
         <cookie-config>
             <http-only>true</http-only>
+            <secure>false</secure>
         </cookie-config>
     </session-config>
 
diff --git a/frontend/webadmin/modules/webadmin/src/main/webapp/WEB-INF/web.xml 
b/frontend/webadmin/modules/webadmin/src/main/webapp/WEB-INF/web.xml
index 9d22f7c..93836f9 100644
--- a/frontend/webadmin/modules/webadmin/src/main/webapp/WEB-INF/web.xml
+++ b/frontend/webadmin/modules/webadmin/src/main/webapp/WEB-INF/web.xml
@@ -169,6 +169,7 @@
     <session-config>
         <cookie-config>
             <http-only>true</http-only>
+            <secure>false</secure>
         </cookie-config>
     </session-config>
 


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

Gerrit-MessageType: newchange
Gerrit-Change-Id: I5a7ac7788180532d1aa259f6cef20c43733e0ab1
Gerrit-PatchSet: 1
Gerrit-Project: ovirt-engine
Gerrit-Branch: ovirt-engine-3.5-gluster
Gerrit-Owner: Shubhendu Tripathi <shtri...@redhat.com>
_______________________________________________
Engine-patches mailing list
Engine-patches@ovirt.org
http://lists.ovirt.org/mailman/listinfo/engine-patches

Reply via email to