cancel
Showing results for 
Search instead for 
Did you mean: 

How to display AuditInfo about user authentication

ribz33
Champ on-the-rise
Champ on-the-rise
Hi,

I'm trying to log user authentication.
So i configure my custom auditConfig.xml like this:
<Service name="AuthenticationService" mode="none">
  <Method name="authenticate" mode="success" />
</Service>

All is working fine, datas are correct in alf_audit_fact.

Now i want to display this auditInfos in web-client.
I wanted to make a template but it seems that we can return AuditInfo only for a node. But node_uuid is null in alf_audit_fact when we audit "authenticate" method.

So how i can return auditInfo in template when node_uuid is null ?
If its not possible what are solutions to do what i want ? (add a freemarker function ? make a custom dialog ?)

Thanks in advance.
1 REPLY 1

mikef
Champ in-the-making
Champ in-the-making
Currently this not exposed via the Template (Freemarker API). Adding support for this in the Template API would be the best approach.