Jean-Baptiste Onofré created KARAF-5195:
-------------------------------------------
Summary: Add additional information in the Audit login modules
Key: KARAF-5195
URL: https://issues.apache.org/jira/browse/KARAF-5195
Project: Karaf
Issue Type: Improvement
Components: karaf-security
Reporter: Jean-Baptiste Onofré
Assignee: Jean-Baptiste Onofré
The audit login module is convenient to track all login performed by the user.
However, it systematically displays an authentication failure (with the key logic module fails):
{code}
2017-06-09 15:54:48,168 | INFO | d]-nio2-thread-2 | LogAuditLoginModule | 35
- org.apache.karaf.jaas.modules - 4.0.10.SNAPSHOT | Authentication attempt - karaf
2017-06-09 15:54:48,169 | INFO | d]-nio2-thread-2 | LogAuditLoginModule | 35
- org.apache.karaf.jaas.modules - 4.0.10.SNAPSHOT | Authentication failed - karaf
2017-06-09 15:54:52,793 | INFO | d]-nio2-thread-3 | LogAuditLoginModule | 35
- org.apache.karaf.jaas.modules - 4.0.10.SNAPSHOT | Authentication attempt - karaf
2017-06-09 15:54:52,795 | INFO | d]-nio2-thread-3 | LogAuditLoginModule | 35
- org.apache.karaf.jaas.modules - 4.0.10.SNAPSHOT | Authentication succeeded - karaf
{code}
It would be great to add in the audit log the "original" login module which throws the error.
More than that, it would be interesting to have details in the audit log (like the subject/action
performed).
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)
|