You can look into the ThrottledSubmissionByIpAddressHandlerInterceptorAdapter
in the package org.jasig.cas.web.support for some clues.
ThrottledSubmissionByIpAddressHandlerInterceptorAdapter  try to log the
user's ip if the user's login fail.


Eric Pierce wrote:
> 
> Right now, this is what is logged on a successful auth:
> 2008-04-25 09:08:17,236 INFO
> [org.jasig.cas.CentralAuthenticationServiceImpl] - Granted service ticket
> [ST] for service [Service_URL] for user [USERNAME]
> 
> How can I add the user's IP address to this log entry?  If I crank the
> logging up to DEBUG, I get the client's IP from the Spring Framework, but
> I
> also get the user's password in plain-text.  I tried correlating the
> cas.log
> entries with Apache's access_log, but that's no help -- I had 8 separate
> users log in at the exact same time.  Normally, I'd just look at the logs
> for the Service Provider, but I don't have access to the SP in this case
> (Google Apps).
> 
> If somebody could point me in the right direction on this I'd appreciate
> it.
> 
> Thanks!
> 
> -Eric
> 
> 
> -- 
> Eric Pierce, RHCE -- University of South Florida -- (813) 974-8868 --
> [EMAIL PROTECTED]
> 
> _______________________________________________
> Yale CAS mailing list
> [email protected]
> http://tp.its.yale.edu/mailman/listinfo/cas
> 
> 

-- 
View this message in context: 
http://www.nabble.com/Logging-Client-IP-address-tp16898429p16918358.html
Sent from the CAS Users mailing list archive at Nabble.com.

_______________________________________________
Yale CAS mailing list
[email protected]
http://tp.its.yale.edu/mailman/listinfo/cas

Reply via email to