[Owasp-csrfguard] custom logger with session information

Arian armyofda12mnkeys at gmail.com
Tue Apr 2 18:52:05 UTC 2013


Hello all,
I see that you can specify a custom logger here:
org.owasp.csrfguard.Logger

or you can use the default ConsoleLogger and i guess customize this message:
org.owasp.csrfguard.action.Log.Message

I was curious... I wanted to get some data about the user who triggers a
cross site forgery...
I have an int member_id and String member_full_name stored in the a session
object...
How can I go about getting the session values into the ConsoleLogger
message?

If I need a Custom Logger (which implements the ILogger interface) to
replace ConsoleLogger, what can I do in that class to get access to the
Session?

Thanks for any guidance :),
-Ari
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.owasp.org/pipermail/owasp-csrfguard/attachments/20130402/cb0a39f1/attachment.html>


More information about the Owasp-csrfguard mailing list