You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cxf.apache.org by co...@apache.org on 2017/02/15 17:25:01 UTC

[4/4] cxf-fediz git commit: FEDIZ-191 - The HomeRealmReminder cookie is not deleted after logout in the IdP

FEDIZ-191 - The HomeRealmReminder cookie is not deleted after logout in the IdP


Project: http://git-wip-us.apache.org/repos/asf/cxf-fediz/repo
Commit: http://git-wip-us.apache.org/repos/asf/cxf-fediz/commit/2681a264
Tree: http://git-wip-us.apache.org/repos/asf/cxf-fediz/tree/2681a264
Diff: http://git-wip-us.apache.org/repos/asf/cxf-fediz/diff/2681a264

Branch: refs/heads/master
Commit: 2681a2643a1d20bc0be348c827a4c3e54c72e0d7
Parents: 137858b
Author: Colm O hEigeartaigh <co...@apache.org>
Authored: Wed Feb 15 17:08:13 2017 +0000
Committer: Colm O hEigeartaigh <co...@apache.org>
Committed: Wed Feb 15 17:08:13 2017 +0000

----------------------------------------------------------------------
 .../main/java/org/apache/cxf/fediz/service/idp/util/WebUtils.java   | 1 +
 1 file changed, 1 insertion(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cxf-fediz/blob/2681a264/services/idp-core/src/main/java/org/apache/cxf/fediz/service/idp/util/WebUtils.java
----------------------------------------------------------------------
diff --git a/services/idp-core/src/main/java/org/apache/cxf/fediz/service/idp/util/WebUtils.java b/services/idp-core/src/main/java/org/apache/cxf/fediz/service/idp/util/WebUtils.java
index 6f84af1..edf9fde 100644
--- a/services/idp-core/src/main/java/org/apache/cxf/fediz/service/idp/util/WebUtils.java
+++ b/services/idp-core/src/main/java/org/apache/cxf/fediz/service/idp/util/WebUtils.java
@@ -192,6 +192,7 @@ public final class WebUtils {
         Cookie cookie = new Cookie(cookieName, cookieValue);
         cookie.setSecure(true);
         cookie.setMaxAge(-1);
+        cookie.setPath("/fediz-idp");
         httpServletResponse.addCookie(cookie);
     }