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

cxf-fediz git commit: [FEDIZ-187] Using UriBuilder.path instead of .segment

Repository: cxf-fediz
Updated Branches:
  refs/heads/master d8dbfbb1d -> a671407ad


[FEDIZ-187] Using UriBuilder.path instead of .segment


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

Branch: refs/heads/master
Commit: a671407ad229cb42305a400cc904f637b40df953
Parents: d8dbfbb
Author: Sergey Beryozkin <sb...@gmail.com>
Authored: Mon Feb 6 15:56:41 2017 +0000
Committer: Sergey Beryozkin <sb...@gmail.com>
Committed: Mon Feb 6 15:56:41 2017 +0000

----------------------------------------------------------------------
 .../org/apache/cxf/fediz/service/oidc/logout/LogoutService.java    | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cxf-fediz/blob/a671407a/services/oidc/src/main/java/org/apache/cxf/fediz/service/oidc/logout/LogoutService.java
----------------------------------------------------------------------
diff --git a/services/oidc/src/main/java/org/apache/cxf/fediz/service/oidc/logout/LogoutService.java b/services/oidc/src/main/java/org/apache/cxf/fediz/service/oidc/logout/LogoutService.java
index 6583f81..f342ca0 100644
--- a/services/oidc/src/main/java/org/apache/cxf/fediz/service/oidc/logout/LogoutService.java
+++ b/services/oidc/src/main/java/org/apache/cxf/fediz/service/oidc/logout/LogoutService.java
@@ -122,7 +122,7 @@ public class LogoutService {
     }
     private URI getAbsoluteIdpLogoutUri(Client client) {
         UriBuilder ub = mc.getUriInfo().getAbsolutePathBuilder();
-        ub.segment(relativeIdpLogoutUri);
+        ub.path(relativeIdpLogoutUri);
         //TODO: include a logout uri as a uri parameter, either 
         // 1. "/finalize" URI for the IDP to redirect to this service again
         // or