Add a (unreleased) attribute to audit log
Cantor, Scott
cantor.2 at osu.edu
Mon Jun 12 10:07:18 EDT 2017
On 6/12/17, 7:38 AM, "users on behalf of Matthew Slowe" <users-bounces at shibboleth.net on behalf of M.Slowe at kent.ac.uk> wrote:
> My reading of the Wiki suggests that this is not possible without
> writing beans ... have I missed something? Is there way to do this in
> config alone?
I suspect within some constraints it would be possible to author a (long) Spring expression to do it, and there's also the ability to wire up a scripted implementation of the Function<ProfileRequestContext> interface and do it in a script. Scripts would be more amenable to the error handling needed to avoid null exceptions.
There aren't any examples in the wiki of actually adding an audit field to the log, so if anybody's done it they've probably had to look at the system file where the audit extractors are. They're basically maps (audit field -> Function returning the value).
-- Scott
More information about the users
mailing list