falcon-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rag...@apache.org
Subject git commit: FALCON-847 Issue with login from keytab in merlin. Contributed by Raghav Kumar Gautam
Date Wed, 29 Oct 2014 23:05:28 GMT
Repository: incubator-falcon
Updated Branches:
  refs/heads/master 067047661 -> 9f01d25da


FALCON-847 Issue with login from keytab in merlin. Contributed by Raghav Kumar Gautam


Project: http://git-wip-us.apache.org/repos/asf/incubator-falcon/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-falcon/commit/9f01d25d
Tree: http://git-wip-us.apache.org/repos/asf/incubator-falcon/tree/9f01d25d
Diff: http://git-wip-us.apache.org/repos/asf/incubator-falcon/diff/9f01d25d

Branch: refs/heads/master
Commit: 9f01d25da0afde30aa3cb39d3ae4f3101b0260cd
Parents: 0670476
Author: Raghav Kumar Gautam <raghav@apache.org>
Authored: Wed Oct 29 16:05:20 2014 -0700
Committer: Raghav Kumar Gautam <raghav@apache.org>
Committed: Wed Oct 29 16:05:20 2014 -0700

----------------------------------------------------------------------
 falcon-regression/CHANGES.txt                       |  2 ++
 .../apache/falcon/regression/security/EntityOp.java | 16 ++++++++--------
 2 files changed, 10 insertions(+), 8 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-falcon/blob/9f01d25d/falcon-regression/CHANGES.txt
----------------------------------------------------------------------
diff --git a/falcon-regression/CHANGES.txt b/falcon-regression/CHANGES.txt
index e6a1ed9..9c1da52 100644
--- a/falcon-regression/CHANGES.txt
+++ b/falcon-regression/CHANGES.txt
@@ -25,6 +25,8 @@ Trunk (Unreleased)
    via Samarth Gupta)
 
   IMPROVEMENTS
+   FALCON-847 Issue with login from keytab in merlin (Raghav Kumar Gautam)
+
    FALCON-835 Tag authorization tests (Raghav Kumar Gautam)
 
    FALCON-826 unify staging and working dir requirements (Raghav Kumar Gautam via Ruslan

http://git-wip-us.apache.org/repos/asf/incubator-falcon/blob/9f01d25d/falcon-regression/merlin/src/test/java/org/apache/falcon/regression/security/EntityOp.java
----------------------------------------------------------------------
diff --git a/falcon-regression/merlin/src/test/java/org/apache/falcon/regression/security/EntityOp.java
b/falcon-regression/merlin/src/test/java/org/apache/falcon/regression/security/EntityOp.java
index 4119a1d..9674b84 100644
--- a/falcon-regression/merlin/src/test/java/org/apache/falcon/regression/security/EntityOp.java
+++ b/falcon-regression/merlin/src/test/java/org/apache/falcon/regression/security/EntityOp.java
@@ -111,7 +111,7 @@ enum EntityOp {
     definition() {
         @Override
         public boolean executeAs(String user, IEntityManagerHelper helper, String data) {
-            KerberosHelper.loginFromKeytab(MerlinConstants.getKeytabForUser(user));
+            KerberosHelper.loginFromKeytab(user);
             final ServiceResponse response;
             try {
                 response = helper.getEntityDefinition(data, user);
@@ -133,7 +133,7 @@ enum EntityOp {
     delete() {
         @Override
         public boolean executeAs(String user, IEntityManagerHelper helper, String data) {
-            KerberosHelper.loginFromKeytab(MerlinConstants.getKeytabForUser(user));
+            KerberosHelper.loginFromKeytab(user);
             final ServiceResponse response;
             try {
                 response = helper.delete(data, user);
@@ -155,7 +155,7 @@ enum EntityOp {
     update() {
         @Override
         public boolean executeAs(String user, IEntityManagerHelper helper, String data) {
-            KerberosHelper.loginFromKeytab(MerlinConstants.getKeytabForUser(user));
+            KerberosHelper.loginFromKeytab(user);
             final ServiceResponse response;
             try {
                 response = helper.update(data, data, user);
@@ -177,7 +177,7 @@ enum EntityOp {
     schedule() {
         @Override
         public boolean executeAs(String user, IEntityManagerHelper helper, String data) {
-            KerberosHelper.loginFromKeytab(MerlinConstants.getKeytabForUser(user));
+            KerberosHelper.loginFromKeytab(user);
             final ServiceResponse response;
             try {
                 response = helper.schedule(data, user);
@@ -199,7 +199,7 @@ enum EntityOp {
     submit() {
         @Override
         public boolean executeAs(String user, IEntityManagerHelper helper, String data) {
-            KerberosHelper.loginFromKeytab(MerlinConstants.getKeytabForUser(user));
+            KerberosHelper.loginFromKeytab(user);
             final ServiceResponse response;
             try {
                 response = helper.submitEntity(data, user);
@@ -221,7 +221,7 @@ enum EntityOp {
     submitAndSchedule() {
         @Override
         public boolean executeAs(String user, IEntityManagerHelper helper, String data) {
-            KerberosHelper.loginFromKeytab(MerlinConstants.getKeytabForUser(user));
+            KerberosHelper.loginFromKeytab(user);
             final ServiceResponse response;
             try {
                 response = helper.submitAndSchedule(data, user);
@@ -243,7 +243,7 @@ enum EntityOp {
     suspend() {
         @Override
         public boolean executeAs(String user, IEntityManagerHelper helper, String data) {
-            KerberosHelper.loginFromKeytab(MerlinConstants.getKeytabForUser(user));
+            KerberosHelper.loginFromKeytab(user);
             final ServiceResponse response;
             try {
                 response = helper.suspend(data, user);
@@ -265,7 +265,7 @@ enum EntityOp {
     resume() {
         @Override
         public boolean executeAs(String user, IEntityManagerHelper helper, String data) {
-            KerberosHelper.loginFromKeytab(MerlinConstants.getKeytabForUser(user));
+            KerberosHelper.loginFromKeytab(user);
             final ServiceResponse response;
             try {
                 response = helper.resume(data, user);


Mime
View raw message