knox-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From lmc...@apache.org
Subject git commit: KNOX-425 rename Pseudo identity assertion provider
Date Tue, 16 Sep 2014 15:55:54 GMT
Repository: knox
Updated Branches:
  refs/heads/v0.5.0 372bad077 -> 8024f1e79


KNOX-425 rename Pseudo identity assertion provider


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

Branch: refs/heads/v0.5.0
Commit: 8024f1e79e00a3f5c978e27b6359fd854a460288
Parents: 372bad0
Author: Larry McCay <lmccay@hortonworks.com>
Authored: Tue Sep 16 11:41:26 2014 -0400
Committer: Larry McCay <lmccay@hortonworks.com>
Committed: Tue Sep 16 11:55:44 2014 -0400

----------------------------------------------------------------------
 ...ltIdentityAsserterDeploymentContributor.java | 32 ++++++++++++++++++++
 ...gateway.deploy.ProviderDeploymentContributor |  3 +-
 2 files changed, 34 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/knox/blob/8024f1e7/gateway-provider-identity-assertion-pseudo/src/main/java/org/apache/hadoop/gateway/identityasserter/filter/DefaultIdentityAsserterDeploymentContributor.java
----------------------------------------------------------------------
diff --git a/gateway-provider-identity-assertion-pseudo/src/main/java/org/apache/hadoop/gateway/identityasserter/filter/DefaultIdentityAsserterDeploymentContributor.java
b/gateway-provider-identity-assertion-pseudo/src/main/java/org/apache/hadoop/gateway/identityasserter/filter/DefaultIdentityAsserterDeploymentContributor.java
new file mode 100644
index 0000000..bd4343e
--- /dev/null
+++ b/gateway-provider-identity-assertion-pseudo/src/main/java/org/apache/hadoop/gateway/identityasserter/filter/DefaultIdentityAsserterDeploymentContributor.java
@@ -0,0 +1,32 @@
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License.  You may obtain a copy of the License at
+ *
+ *     http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package org.apache.hadoop.gateway.identityasserter.filter;
+
+/**
+ * This class renames the Pseudo identity asserter to Default
+ * while still providing backward compatibility.
+ */
+public class DefaultIdentityAsserterDeploymentContributor extends
+    IdentityAsserterDeploymentContributor {
+
+  @Override
+  public String getName() {
+    return "Default";
+  }
+
+}

http://git-wip-us.apache.org/repos/asf/knox/blob/8024f1e7/gateway-provider-identity-assertion-pseudo/src/main/resources/META-INF/services/org.apache.hadoop.gateway.deploy.ProviderDeploymentContributor
----------------------------------------------------------------------
diff --git a/gateway-provider-identity-assertion-pseudo/src/main/resources/META-INF/services/org.apache.hadoop.gateway.deploy.ProviderDeploymentContributor
b/gateway-provider-identity-assertion-pseudo/src/main/resources/META-INF/services/org.apache.hadoop.gateway.deploy.ProviderDeploymentContributor
index a9c6636..d5b3601 100644
--- a/gateway-provider-identity-assertion-pseudo/src/main/resources/META-INF/services/org.apache.hadoop.gateway.deploy.ProviderDeploymentContributor
+++ b/gateway-provider-identity-assertion-pseudo/src/main/resources/META-INF/services/org.apache.hadoop.gateway.deploy.ProviderDeploymentContributor
@@ -16,4 +16,5 @@
 # limitations under the License.
 ##########################################################################
 
-org.apache.hadoop.gateway.identityasserter.filter.IdentityAsserterDeploymentContributor
\ No newline at end of file
+org.apache.hadoop.gateway.identityasserter.filter.IdentityAsserterDeploymentContributor
+org.apache.hadoop.gateway.identityasserter.filter.DefaultIdentityAsserterDeploymentContributor
\ No newline at end of file


Mime
View raw message