[Acegisecurity-developer] AuthenticationFailureEvent?

2005-06-20 Thread Mark St Godard
I would post to the Acegi user list... however this has a framework implementation question :) I am looking into a hook point for Acegi, whereby I can update a users failed logon attempts.. (on fail) as well as zero out the users failed logon attempts, on successful authentication. My

Re: [Acegisecurity-developer] How to use Acegi in this situation?

2005-06-20 Thread Marco Mistroni
Hello, few time ago Mr Andy Depue reply tomy message on how to use acegi in a situation where the user does not log in, (for example in the case in which a background process - cron like - periodically executes. In this situation, how will i create a contextHoldert to associate it with the call?

Re: [Acegisecurity-developer] How to use Acegi in this situation?

2005-06-20 Thread Andy Depue
As I originally mentioned, in one particular case we created a special user just for our background task (because it made sense in this particular context). So, assuming you have already created a user in your system for the background task, I can share the code we use to "log in" as a user.