CAS 4.2.6

Think I'm missing something. Want to collect ST usage by user session from CAS 
(audit) logs and cannot find how to (w/o coding) inject username into the TGT 
creation log, cf.

2017-02-27 00:00:09,169 INFO 
[org.jasig.inspektr.audit.support.Slf4jLoggingAuditTrailManager] - Mon Feb 27 
00:00:09 PST 
2017|CAS|TGT-**********...|TICKET_GRANTING_TICKET_CREATED|audit:unknown|{clientIP}|{servername}

Effectively, I'd like to trace TGT-> username -> ST from logs to end up with 
per-(anonymized)user ST statistics.

Tried working my way through the code, but can only find what looks like the 
Principal being made available to Inspektr with ST validation 
(org.jasig.cas.audit.spi.AssertionAsReturnValuePrincipalResolver).

The username does end up in other log entries, such as AUTHENTICATION_SUCCESS, 
but trying to correlate one log entry (AUTHENTICATION_SUCCESS) with another 
(TICKET_GRANTING_TICKET_CREATED) on busy servers sounds difficult.

We used to see username in TGT-creation logs on CAS 3.x. FWIW, we're using LDAP 
authN.

Thanks.
Tom.

-- 
- CAS gitter chatroom: https://gitter.im/apereo/cas
- CAS mailing list guidelines: https://apereo.github.io/cas/Mailing-Lists.html
- CAS documentation website: https://apereo.github.io/cas
- CAS project website: https://github.com/apereo/cas
--- 
You received this message because you are subscribed to the Google Groups "CAS 
Community" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/a/apereo.org/d/msgid/cas-user/9FDEB36F-ED95-4599-A73D-B20F38429E67%40ucdavis.edu.

Reply via email to