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/DbRNg6l3LLMBut what if we can control the ClientInfo collecting logic? So I submitted
a pull request to
apereo/inspecktr:
https://github.com/apereo/inspektr/pull/82Is there more work to be done? Is thre a better way to solve the problem?
James