sqoop-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From a..@apache.org
Subject sqoop git commit: SQOOP-2166: Sqoop2: Add "Authorization Exception" error code in SecurityError.java
Date Thu, 05 Mar 2015 02:25:19 GMT
Repository: sqoop
Updated Branches:
  refs/heads/sqoop2 6872bebc1 -> e6cb1d623


SQOOP-2166: Sqoop2: Add "Authorization Exception" error code in SecurityError.java

(Richard Zhou via Abraham Elmahrek)


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

Branch: refs/heads/sqoop2
Commit: e6cb1d623190b57d09e63fd50cd2e4879ad4aeb5
Parents: 6872beb
Author: Abraham Elmahrek <abe@apache.org>
Authored: Wed Mar 4 18:24:26 2015 -0800
Committer: Abraham Elmahrek <abe@apache.org>
Committed: Wed Mar 4 18:24:26 2015 -0800

----------------------------------------------------------------------
 core/src/main/java/org/apache/sqoop/security/SecurityError.java | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/sqoop/blob/e6cb1d62/core/src/main/java/org/apache/sqoop/security/SecurityError.java
----------------------------------------------------------------------
diff --git a/core/src/main/java/org/apache/sqoop/security/SecurityError.java b/core/src/main/java/org/apache/sqoop/security/SecurityError.java
index ad030f8..9f85b9e 100644
--- a/core/src/main/java/org/apache/sqoop/security/SecurityError.java
+++ b/core/src/main/java/org/apache/sqoop/security/SecurityError.java
@@ -61,7 +61,10 @@ public enum SecurityError implements ErrorCode {
   AUTH_0012("Unable to get role name from http request"),
 
   /** The system was not able to get principal from http request. */
-  AUTH_0013("Unable to get principal from http request");
+  AUTH_0013("Unable to get principal from http request"),
+
+  /** Authorization Exception, used by authorization implementation, etc. Sentry. */
+  AUTH_0014("Authorization exception");
 
   private final String message;
 


Mime
View raw message