HADOOP-12318. Expose underlying LDAP exceptions in SaslPlainServer. Contributed by Mike Yoder.
(cherry picked from commit 28ea4c068ea0152af682058b02311bba81780770)
This commit is contained in:
parent
65d22b3686
commit
43f386e748
|
@ -235,6 +235,9 @@ Release 2.8.0 - UNRELEASED
|
|||
HADOOP-12280. Skip unit tests based on maven profile rather than
|
||||
NativeCodeLoader.isNativeCodeLoaded (Masatake Iwasaki via Colin P. McCabe)
|
||||
|
||||
HADOOP-12318. Expose underlying LDAP exceptions in SaslPlainServer. (Mike
|
||||
Yoder via atm)
|
||||
|
||||
OPTIMIZATIONS
|
||||
|
||||
HADOOP-11785. Reduce the number of listStatus operation in distcp
|
||||
|
|
|
@ -105,7 +105,7 @@ public class SaslPlainServer implements SaslServer {
|
|||
authz = ac.getAuthorizedID();
|
||||
}
|
||||
} catch (Exception e) {
|
||||
throw new SaslException("PLAIN auth failed: " + e.getMessage());
|
||||
throw new SaslException("PLAIN auth failed: " + e.getMessage(), e);
|
||||
} finally {
|
||||
completed = true;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue