On Mon, Jun 18, 2012, at 13:27, Scott Battaglia wrote: > What are you using to run CAS? Apache+Tomcat or Tomcat? Usually, the > access log can be used to store the user agent (unless you really care to > associate it with the specific user) > >
Just Tomcat, with the AccessLogValve configured so I'm already collecting some of this data. Unfortunately, my employers want to associate it with a specific username... though to be precise, they're mostly interested in collecting information about what types of OS's/devices our constituents have less than what a specific individual has. The username association is just a means to that end (I'd use IP which is nicely in the audit logs as a unique key, but IPs change..). CAS was thought of as one way to capture that information since it's basically a gateway through which all our users wind up passing through and would have access to the desired data. Matt > On Mon, Jun 18, 2012 at 12:50 PM, Matt Elson < > [email protected]> wrote: > > > I have just received a feature request where a user's browser's > > User-Agent string (along with their username) would be logged when > > successfully authenticate to CAS (specifically my employers wish to get > > a sense of what OS's are in use among our constituents and as imperfect > > as User-Agent may be, it's probably "good enough") and I'm curious what > > the best way to go about it would be. There's unfortunately not a very > > strong java development team at my workplace (and I only dabble), so > > there's a desire to try and keep it as straight forward as possible. It > > seems like one method might be to try and leverage the Inspektr library, > > but I've not delved into it deeply and am not sure that I'm on the right > > track. > > > > Any thoughts? Has anyone done something like this before? > > > > Matt > > > > -- > > 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 -- 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
