Eric,

That class doesn't log IP information.  If you want to log the IP
information, take a look at enabling the Inspektr logging auditing tool we
use.  Its a combination of filter and AOP to display everything you need.
It should even come with a default AuditTrailerManager that dumps to Commons
Logging.

http://code.google.com/p/inspektr/wiki/EnablingStatisticsAndAuditing

I can't recall, but there may also be a sample XML config for turning this
on in the CAS distribution.

-Scott


On Fri, Apr 25, 2008 at 10:03 AM, Eric Pierce <[EMAIL PROTECTED]> 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
>
>


-- 
-Scott Battaglia
PGP Public Key Id: 0x383733AA
LinkedIn: http://www.linkedin.com/in/scottbattaglia
_______________________________________________
Yale CAS mailing list
[email protected]
http://tp.its.yale.edu/mailman/listinfo/cas

Reply via email to