Author: xuefu
Date: Wed Jan 15 23:38:43 2014
New Revision: 1558613
URL: http://svn.apache.org/r1558613
Log:
HIVE-6182: LDAP Authentication errors need to be more informative (Szehon via
Xuefu)
Modified:
hive/trunk/service/src/java/org/apache/hive/service/auth/LdapAuthenticationProviderImpl.java
Modified:
hive/trunk/service/src/java/org/apache/hive/service/auth/LdapAuthenticationProviderImpl.java
URL:
http://svn.apache.org/viewvc/hive/trunk/service/src/java/org/apache/hive/service/auth/LdapAuthenticationProviderImpl.java?rev=1558613&r1=1558612&r2=1558613&view=diff
==============================================================================
---
hive/trunk/service/src/java/org/apache/hive/service/auth/LdapAuthenticationProviderImpl.java
(original)
+++
hive/trunk/service/src/java/org/apache/hive/service/auth/LdapAuthenticationProviderImpl.java
Wed Jan 15 23:38:43 2014
@@ -70,7 +70,7 @@ public class LdapAuthenticationProviderI
DirContext ctx = new InitialDirContext(env);
ctx.close();
} catch (NamingException e) {
- throw new AuthenticationException("Error validating LDAP user");
+ throw new AuthenticationException("Error validating LDAP user", e);
}
return;
}