knox-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From lmc...@apache.org
Subject knox git commit: KNOX-533 - add version component to knoxsso url pattern
Date Mon, 20 Apr 2015 20:45:29 GMT
Repository: knox
Updated Branches:
  refs/heads/master d9f8cf41e -> a9fa66fbb


KNOX-533 - add version component to knoxsso url pattern

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

Branch: refs/heads/master
Commit: a9fa66fbb60a07def688c668d857484d95c7533a
Parents: d9f8cf4
Author: Larry McCay <lmccay@hortonworks.com>
Authored: Mon Apr 20 16:45:23 2015 -0400
Committer: Larry McCay <lmccay@hortonworks.com>
Committed: Mon Apr 20 16:45:23 2015 -0400

----------------------------------------------------------------------
 .../hadoop/gateway/picketlink/filter/CaptureOriginalURLFilter.java | 2 +-
 .../org/apache/hadoop/gateway/service/knoxsso/WebSSOResource.java  | 2 +-
 .../knoxsso/deploy/KnoxSSOServiceDeploymentContributor.java        | 2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/knox/blob/a9fa66fb/gateway-provider-security-picketlink/src/main/java/org/apache/hadoop/gateway/picketlink/filter/CaptureOriginalURLFilter.java
----------------------------------------------------------------------
diff --git a/gateway-provider-security-picketlink/src/main/java/org/apache/hadoop/gateway/picketlink/filter/CaptureOriginalURLFilter.java
b/gateway-provider-security-picketlink/src/main/java/org/apache/hadoop/gateway/picketlink/filter/CaptureOriginalURLFilter.java
index 89d1ade..540a81a 100644
--- a/gateway-provider-security-picketlink/src/main/java/org/apache/hadoop/gateway/picketlink/filter/CaptureOriginalURLFilter.java
+++ b/gateway-provider-security-picketlink/src/main/java/org/apache/hadoop/gateway/picketlink/filter/CaptureOriginalURLFilter.java
@@ -41,7 +41,7 @@ public class CaptureOriginalURLFilter implements Filter {
   public void init( FilterConfig filterConfig ) throws ServletException {
     cookiePath = filterConfig.getInitParameter(COOKIE_PATH);
     if (cookiePath == null) {
-      cookiePath = "/gateway/idp/knoxsso/websso";
+      cookiePath = "/gateway/idp/knoxsso/api/v1/websso";
     }
   }
 

http://git-wip-us.apache.org/repos/asf/knox/blob/a9fa66fb/gateway-service-knoxsso/src/main/java/org/apache/hadoop/gateway/service/knoxsso/WebSSOResource.java
----------------------------------------------------------------------
diff --git a/gateway-service-knoxsso/src/main/java/org/apache/hadoop/gateway/service/knoxsso/WebSSOResource.java
b/gateway-service-knoxsso/src/main/java/org/apache/hadoop/gateway/service/knoxsso/WebSSOResource.java
index bce09a0..a81cc2d 100644
--- a/gateway-service-knoxsso/src/main/java/org/apache/hadoop/gateway/service/knoxsso/WebSSOResource.java
+++ b/gateway-service-knoxsso/src/main/java/org/apache/hadoop/gateway/service/knoxsso/WebSSOResource.java
@@ -56,7 +56,7 @@ public class WebSSOResource {
    * 
    */
   private static final String JWT_COOKIE_NAME = "hadoop-jwt";
-  static final String RESOURCE_PATH = "/knoxsso/websso";
+  static final String RESOURCE_PATH = "/knoxsso/api/v1/websso";
   private static KnoxSSOMessages log = MessagesFactory.get( KnoxSSOMessages.class );
 
   @Context 

http://git-wip-us.apache.org/repos/asf/knox/blob/a9fa66fb/gateway-service-knoxsso/src/main/java/org/apache/hadoop/gateway/service/knoxsso/deploy/KnoxSSOServiceDeploymentContributor.java
----------------------------------------------------------------------
diff --git a/gateway-service-knoxsso/src/main/java/org/apache/hadoop/gateway/service/knoxsso/deploy/KnoxSSOServiceDeploymentContributor.java
b/gateway-service-knoxsso/src/main/java/org/apache/hadoop/gateway/service/knoxsso/deploy/KnoxSSOServiceDeploymentContributor.java
index 1f4f667..7dbd228 100644
--- a/gateway-service-knoxsso/src/main/java/org/apache/hadoop/gateway/service/knoxsso/deploy/KnoxSSOServiceDeploymentContributor.java
+++ b/gateway-service-knoxsso/src/main/java/org/apache/hadoop/gateway/service/knoxsso/deploy/KnoxSSOServiceDeploymentContributor.java
@@ -54,7 +54,7 @@ public class KnoxSSOServiceDeploymentContributor extends JerseyServiceDeployment
    */
   @Override
   protected String[] getPatterns() {
-    return new String[]{ "knoxsso/**?**" };
+    return new String[]{ "knoxsso/api/**?**" };
   }
 
 }


Mime
View raw message