add extendable ClientInfoCollector for ClientInfoThreadLocalFilter in apereo/inspektr

9 views
Skip to first unread message

James Mackerel

unread,
Jul 14, 2021, 9:55:53 PM7/14/21
to CAS Developer

Hi,

I encountered a problem the other day when I tried to customize the
collecting of CAS audit log's clientIpAddress field. The problem is solved
in a kind of tricky way: I used BeanFacotryPostProcessor to remove the
casClientInfoLoggingFilter bean, thus ClientInfoThreadLocalFilter will not
be installed.

To see the problem detail and how I solved it, please see:
https://groups.google.com/a/apereo.org/g/cas-user/c/DbRNg6l3LLM

But what if we can control the ClientInfo collecting logic? So I submitted
a pull request to
apereo/inspecktr:https://github.com/apereo/inspektr/pull/82

Is there more work to be done? Is thre a better way to solve the problem?


James

Reply all
Reply to author
Forward
0 new messages