I have tried integrating ActiveMQ 3.1 with Acegi 0.9 in Sun Java
Application Server platform Edition 8.1. First, what I encountered was
the common "IncompatibleClassChangeError" which happens when Acegi has
seen an old spring.jar version(pre 1.2.2 release), I know that ActiveMQ
is still using
OK, so my example might look like this for you (again, I'm going to use
concrete code here). First, define the class that will "wrap" the call to
your actual target method:
public class CustomerReportQuartzAuthenticator
{
private CustomerReport customerReport;
pricate SecurityFacade se
Actually the architecture was like this
First i create target class called CostumerReport which has method
named generatePerformance. So generatePerformance will be called as
"targetMethod" by acegi, becouse its the method that will be invoked
daily. Then i declare CostumerReport as costumerReport
On Friday 16 September 2005 01:26 pm, Achmad Arif Rachim wrote:
> Hi andy,
>
> Im using your suggestion to use SecurityFacade. i found very interesting
> result, yes its working but not 100% well. Every successfull invocations
> theres periode where AuthenticationCredentialsNotFoundException thrown
Hi andy,
Im using your suggestion to use SecurityFacade. i found very
interesting result, yes its working but not 100% well. Every
successfull invocations theres periode where
AuthenticationCredentialsNotFoundException thrown. I found every 16
successful invocation always have one failed down :(
On Friday 16 September 2005 12:07 pm, Andy Depue wrote:
> ... As soon as it shows up in gmane, I'll post a link to the thread
> (as a response to this message).
Here is the head of the ActiveMQ thread:
http://thread.gmane.org/gmane.comp.java.activemq.user/2927
--
On Friday 16 September 2005 11:07 am, Andy Depue wrote:
> I need to integrate ActiveMQ's JMS security with Acegi. Before I do this,
> I just want to make sure I'm not solving a problem that has already been
> solved. Has anyone else integrated ActiveMQ's security with Acegi? It
> should be fairl
On Friday 16 September 2005 04:17 am, Achmad Arif Rachim wrote:
> I was thinking like that before. but how do i intercept quartz. This is
> becouse im using MethodSecurityInterceptor, every time targetMethod invoked
> by localhost it throws AuthenticationException.
>
> Im using MethodDefinitionAttr
I need to integrate ActiveMQ's JMS security with Acegi. Before I do this, I
just want to make sure I'm not solving a problem that has already been
solved. Has anyone else integrated ActiveMQ's security with Acegi? It
should be fairly straightforward as ActiveMQ provides a single simple adapte
hello ,
not knowing the problem i don't comment much...
can't you intercept the execute method of your task?
or (worst solution), cant you just define a special user for executing quartz job and put the code for instantiating contextholder & user
directly into the job?
sorry to say that i am no
I was thinking like that before. but how do i intercept quartz. This is
becouse im using MethodSecurityInterceptor, every time targetMethod
invoked by localhost it throws AuthenticationException.
Im using MethodDefinitionAttributes using commons-attributes. The idea
was to make every method invoca
Hello,
are you talking about problems in executing the Quartz job?
Not sure if this could be a solution for you, but
have 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
12 matches
Mail list logo