Github user paul-rogers commented on a diff in the pull request:
https://github.com/apache/drill/pull/962#discussion_r141199041
--- Diff:
exec/java-exec/src/main/java/org/apache/drill/exec/rpc/user/security/PamUserAuthenticator.java
---
@@ -59,7 +59,8 @@ public void authenticate(String user, String password)
throws UserAuthentication
for (String pamProfile : profiles) {
Pam pam = new Pam(pamProfile);
if (!pam.authenticateSuccessful(user, password)) {
- throw new UserAuthenticationException(String.format("PAM profile
'%s' validation failed", pamProfile));
+ throw new UserAuthenticationException(String.format("PAM profile
'%s' validation failed for user %s",
--- End diff --
The module above throws an exception. Here we get a `boolean`. Does this
mean that the exception was mapped to `false`, then mapped back to an exception?
---