]
Jan Tymel reassigned ELY-995:
-----------------------------
Assignee: (was: Darran Lofthouse)
Elytron Audit Logging does not log principal if simple file format is
used
--------------------------------------------------------------------------
Key: ELY-995
URL:
https://issues.jboss.org/browse/ELY-995
Project: WildFly Elytron
Issue Type: Bug
Reporter: Jan Tymel
Priority: Critical
Attachments: deployment.war
_SIMPLE_ format of Elytron Audit Logging does not contain the information about the
principal when the authentication is not successful. _JSON_ format contains such piece of
information.
Compare _JSON_ format
{noformat}
3/8/17 3:53
PM,WARNING,{"event":"SecurityAuthenticationFailedEvent","event-time":"3/8/17
3:53
PM","security-identity":{"name":"anonymous","creation-time":"3/8/17
3:53 PM"},"success":false,"principal":"user"}
{noformat}
to _SIMPLE_ format
{noformat}
3/8/17 3:54 PM,WARNING,event=SecurityAuthenticationFailedEvent,event-time=3/8/17 3:54
PM,security-identity=[name=anonymous,creation-time=3/8/17 3:54 PM],success=false}
{noformat}