Do you mean ticket validation failures?  We already have a framework for
that:
http://www.ja-sig.org/wiki/display/CASUM/Auditing+and+Statistics+Via+Inspektr

At Rutgers, we actually wrote our own plugin to do it via Commons Logging
instead of the database but its the same principle.

Cheers,
Scott


On Fri, Sep 18, 2009 at 2:41 PM, Rich Renomeron - TCG <
[email protected]> wrote:

> I have a new requirement to log service validation failures for auditing
> purposes.  After studying some of the code, I can think of two
> approaches, neither of which I really like:
>
> 1. Replace the ServiceValidateController with something similar.
> Subclassing does not appear to be an option due to the
> handleRequestInternal method being final and the generateErrorView
> method being private.
>
> 2. Put logging code in the failureView JSPs and classes.
>
> I think I can live with the first option (the second is a maintenance
> nightmare), but I can't help but think there's a cleaner way to do it.
> Does anybody know of one?
>
> Thanks,
> Rich
>
> --
>  Richard J. Renomeron, Project Lead
> TCG
> Yes, it /can/ be done!
> Tel: (202) 742-8460
> Fax: (202) 986-5532
> Email: [email protected]
> AIM: rrenomeronTCG
> OpenPGP Key ID 5C347C57
> www.tcg.com <http://www.tcg.com>
>
> --
> You are currently subscribed to [email protected] as:
> [email protected]
> To unsubscribe, change settings or access archives, see
> http://www.ja-sig.org/wiki/display/JSG/cas-user
>

-- 
You are currently subscribed to [email protected] as: 
[email protected]
To unsubscribe, change settings or access archives, see 
http://www.ja-sig.org/wiki/display/JSG/cas-user

Reply via email to