Hi, 1) In the deployerConfigContext.xml, you reference an audit trail class: https://github.com/Jasig/cas/blob/master/cas-server-webapp/src/main/webapp/WEB-INF/deployerConfigContext.xml#L180. You would need to create your own. 2) Programmatically yes by using the ServicesManager class injected in your new MyAuditTrailManager.
Best regards, Jérôme 2014-05-15 13:17 GMT+02:00 Idan Fridman <[email protected]>: > Hi Jerome, > > > > 1. Which Audit class? > > 2. How do you query the services manager? Programmatically? > > > > > > *From:* Jérôme LELEU [mailto:[email protected]] > *Sent:* Thursday, May 15, 2014 2:16 PM > *To:* [email protected] > *Subject:* Re: [cas-user] Determine Service name via Audit trail > > > > Hi, > > > > I think you just have the service url in the audit class. So you would > need to query the services manager with this service url to get the > matching service to finally get its name. > > Best regards, > > Jérôme > > > > > > 2014-05-15 10:10 GMT+02:00 ray <[email protected]>: > > Wonder if anyone had a chance to have any idea at this one? > > Thanks, > ray. > -- > 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 > > This e-mail and the information it contains may be privileged and/or > confidential. It is intended solely for the use of the named recipient(s). > If you are not the intended recipient you may not disclose, copy, > distribute or retain any part of this message or attachments. If you have > received this e-mail in error please notify the sender immediately [by > clicking 'Reply'] and delete this e-mail. > > -- > 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
