KarafJaasPasswordAuthenticator should log reason for authentication failure.
----------------------------------------------------------------------------

                 Key: KARAF-423
                 URL: https://issues.apache.org/jira/browse/KARAF-423
             Project: Karaf
          Issue Type: Improvement
          Components: runtime
    Affects Versions: 2.1.3
         Environment: Karaf trunk 
            Reporter: Torsten Mielke
            Priority: Minor
         Attachments: Kara-423f.patch

In method KarafJaasPasswordAuthenticator.authenticate() we catch any exceptions 
at the end and only return false in the event of an exception

{code:java}
} catch (Exception e) {
  return false;
}
{code}

without logging anything about the reason for the exception, e.g. in case of a 
FailedLoginException. 

I propose to add some logging in the exception handling. Perhaps at INFO level 
so that it gets written to the log file by default.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to