Im using MethodDefinitionAttributes using commons-attributes. The idea was to make every method invocation passed security concern.
Unfortunately for method that was invoked by localmechine will throw AuthentificationCredentialsNotFoundException :(. I was wondering how to intercept quartz before invoking targetMethod, so i can put AuthenticationObject into ThreadLocal,... but seems doesnt have a clue. :(
On 9/16/05, Marco Mistroni <[EMAIL PROTECTED]> wrote:
Hello,are you talking about problems in executing the Quartz job?Not sure if this could be a solution for you, buthave you tried to setup a secure ContextHolder during execution of the job, using a 'superuser'?
the superuser authenticates, you perform the task that needs to be done in the Quartz job, and then the useris unauthenticated......
HTHmarcoOn 9/16/05, Achmad Arif Rachim <[EMAIL PROTECTED] > wrote:Hi guys,
I'm using quartz to create daily reports. Unfortunately acegi seems unhappy and always thrown AuthentificationCredentialsNotFoundException "a valid SecureContext not found in RequestContext". I belive this is because SecurityEnforcementFilter did'nt populate AuthenticationObject into LocalThread. I've tried to use RunAsManager, but still it doesn't help.
Thanks
