You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@myfaces.apache.org by lo...@apache.org on 2018/06/07 14:59:05 UTC

[myfaces-tobago] 02/02: comment for cookie "Secure" flag

This is an automated email from the ASF dual-hosted git repository.

lofwyr pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/myfaces-tobago.git

commit 005a188f2d0b85da689d4a18ec0d6dcf43673874
Author: Udo Schnurpfeil <lo...@apache.org>
AuthorDate: Thu Jun 7 16:58:06 2018 +0200

    comment for cookie "Secure" flag
---
 tobago-example/tobago-example-blank/src/main/webapp/WEB-INF/web.xml | 2 ++
 tobago-example/tobago-example-demo/src/main/webapp/WEB-INF/web.xml  | 2 ++
 2 files changed, 4 insertions(+)

diff --git a/tobago-example/tobago-example-blank/src/main/webapp/WEB-INF/web.xml b/tobago-example/tobago-example-blank/src/main/webapp/WEB-INF/web.xml
index dd489b4..339c353 100644
--- a/tobago-example/tobago-example-blank/src/main/webapp/WEB-INF/web.xml
+++ b/tobago-example/tobago-example-blank/src/main/webapp/WEB-INF/web.xml
@@ -59,6 +59,8 @@
   <session-config>
     <cookie-config>
       <http-only>true</http-only>
+      <!--only for https-->
+      <!--<secure>true</secure>-->
     </cookie-config>
   </session-config>
 
diff --git a/tobago-example/tobago-example-demo/src/main/webapp/WEB-INF/web.xml b/tobago-example/tobago-example-demo/src/main/webapp/WEB-INF/web.xml
index f69c318..755f936 100644
--- a/tobago-example/tobago-example-demo/src/main/webapp/WEB-INF/web.xml
+++ b/tobago-example/tobago-example-demo/src/main/webapp/WEB-INF/web.xml
@@ -167,6 +167,8 @@
   <session-config>
     <cookie-config>
       <http-only>true</http-only>
+      <!--only for https-->
+      <!--<secure>true</secure>-->
     </cookie-config>
   </session-config>
 

-- 
To stop receiving notification emails like this one, please contact
lofwyr@apache.org.