Log RepositoryException on debug level if obtaining JCR session fails
---------------------------------------------------------------------
Key: SLING-1183
URL: https://issues.apache.org/jira/browse/SLING-1183
Project: Sling
Issue Type: Improvement
Components: Engine
Affects Versions: Engine 2.0.4
Reporter: Honwai Wong
Priority: Minor
If the SlingAuthenticator#authenticate method is unable to obtain a JCR session
based on the given credentials, a RepositoryException is caught silently
without further notice on the exact root cause. While this is an expected
behavior, a more verbose logging would be helpful for debugging purposes.
Though the handleImpersonation method already provides some pointers as to the
initial cause, I'd prefer to have the full stacktrace of the
RepositoryException at hand.
I suggest to log the full RepositoryException on DEBUG level.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.