ranger-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From cohei...@apache.org
Subject [2/3] incubator-ranger git commit: RANGER-1306: update exception log
Date Tue, 17 Jan 2017 09:05:08 GMT
RANGER-1306: update exception log


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

Branch: refs/heads/master
Commit: da7ae44a644063de12faa7676197b8aa9980a38a
Parents: 2afe8af
Author: zhangqiang2 <zhangqiang2@zte.com.cn>
Authored: Tue Jan 17 10:26:30 2017 +0800
Committer: Colm O hEigeartaigh <coheigea@apache.org>
Committed: Tue Jan 17 08:54:36 2017 +0000

----------------------------------------------------------------------
 .../ranger/security/handler/RangerAuthenticationProvider.java  | 6 ------
 1 file changed, 6 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-ranger/blob/da7ae44a/security-admin/src/main/java/org/apache/ranger/security/handler/RangerAuthenticationProvider.java
----------------------------------------------------------------------
diff --git a/security-admin/src/main/java/org/apache/ranger/security/handler/RangerAuthenticationProvider.java
b/security-admin/src/main/java/org/apache/ranger/security/handler/RangerAuthenticationProvider.java
index 3c327ae..35ddf06 100644
--- a/security-admin/src/main/java/org/apache/ranger/security/handler/RangerAuthenticationProvider.java
+++ b/security-admin/src/main/java/org/apache/ranger/security/handler/RangerAuthenticationProvider.java
@@ -137,12 +137,6 @@ public class RangerAuthenticationProvider implements AuthenticationProvider
{
 			String encoder="SHA256";
 			try{
 				authentication=getJDBCAuthentication(authentication,encoder);
-			}catch (BadCredentialsException e) {
-				logger.info("Get JDBC Authentication fail: ", e);
-			}catch (AuthenticationServiceException e) {
-				logger.info("Get JDBC Authentication fail: ", e);
-			}catch (AuthenticationException e) {
-				logger.info("Get JDBC Authentication fail: ", e);
 			}catch (Exception e) {
 				logger.info("Get JDBC Authentication fail: ", e);
 			}


Mime
View raw message