HADOOP-12318. Expose underlying LDAP exceptions in SaslPlainServer. Contributed by Mike Yoder.

This commit is contained in:
Aaron T. Myers 2015-08-12 15:16:05 -07:00
parent 3e715a4f4c
commit 820f864a26
2 changed files with 4 additions and 1 deletions

View File

@ -746,6 +746,9 @@ Release 2.8.0 - UNRELEASED
HADOOP-12280. Skip unit tests based on maven profile rather than HADOOP-12280. Skip unit tests based on maven profile rather than
NativeCodeLoader.isNativeCodeLoaded (Masatake Iwasaki via Colin P. McCabe) NativeCodeLoader.isNativeCodeLoaded (Masatake Iwasaki via Colin P. McCabe)
HADOOP-12318. Expose underlying LDAP exceptions in SaslPlainServer. (Mike
Yoder via atm)
OPTIMIZATIONS OPTIMIZATIONS
HADOOP-11785. Reduce the number of listStatus operation in distcp HADOOP-11785. Reduce the number of listStatus operation in distcp

View File

@ -105,7 +105,7 @@ public class SaslPlainServer implements SaslServer {
authz = ac.getAuthorizedID(); authz = ac.getAuthorizedID();
} }
} catch (Exception e) { } catch (Exception e) {
throw new SaslException("PLAIN auth failed: " + e.getMessage()); throw new SaslException("PLAIN auth failed: " + e.getMessage(), e);
} finally { } finally {
completed = true; completed = true;
} }