Hello, there is something I don't understand with indexed properties. I have a form backing object representing a "Poll" that contains a List of "Answers". When I'm showing the form I populate it...
Type: Posts; User: immanuel; Keyword(s):
Hello, there is something I don't understand with indexed properties. I have a form backing object representing a "Poll" that contains a List of "Answers". When I'm showing the form I populate it...
Ah, you're right! I'm afraid the whole authorization stuff is called by default on every action even after the initial login: I seem to remember it was an acegi design decision, so that roles can be...
Hi "plethora"!
1) There is no need to retain the original Authentication object: it is only needed as a way to pass the jcifs.smb.NtlmPasswordAuthentication and the jcifs.UniAddress to the...
I posted the code I wrote and an example config.
Well, this is simply because we have legacy struts bean tags that extract "our" custom secure context bean from the session (i.e.: the object that performed the same role as securecontext and that...
Hello, I'm completing the integration of acegi into an existing application, and I was wondering what is the best way to propagate custom information with the SecureContext into the current thread....
No, I didn't (yet): I took a look at what Rod has put in the sandbox and found it has similarities with what I've done: as soon as i have the time I'd like to test what I've done with bigger...
From time to time I read criticisms about the fact that Spring has to be configured through long xmls, and that there is no easy-to-use programmatic api. While I certainly don't hate xml configs, and...
Understood. I'll work on it ASAIC.
Uh... no unit tests for now! I'd be happy to support it, it's not a lot of code, moreover. If you want to take a look at it before a commit I can send you a zip: in the meanwhile I could look at the...
Two different sets of filters?
<bean id="filterChainProxy" class="net.sf.acegisecurity.util.FilterChainProxy">
<property name="filterInvocationDefinitionSource">
<value>...
I don't know if this thing is of interest for anyone (or if there was a simpler way to do the same thing!) but I have implemented an integration for jcifs and acegi: this can be used in order to...
Regarding the quartz integration, I noticed that spring uses the same connection as a "managed" and "non managed" quartz connection, which I think should not be. I had a number of problems, in fact,...
The whole quartz integration seems a little immature to me too, see also http://forum.springframework.org/showthread.php?t=10223
No opinions on this? More specifically, what puzzles me a bit is the fact that the bean factory is created in the ejbCreate method, which is called in a transaction context. Shouldn't this be done in...
http://www.springframework.org/docs/reference/ejb.html#ejb-implementation
There is something I don't understand in LocalDataSourceJobStore. Why does it define getConnection and getNonManagedTxConnection so as they use the same DataSource? In my understanding, one of the...
Note that if the bean that does the scheduling is the same that the method will have to be called on you will end with a circular reference that I don't know how to solve without recurring to a...
Did you try using a TargetSource?
Regards,
Andreas[/quote]
I'm not sure this could be useful... it seems to me that a thing like the one I need is something that has some kind of support by...
Did you try using a TargetSource?
Regards,
Andreas[/quote]
I'm not sure this could be useful... it seems to me that a thing like the one I need is something that has some kind of support by...
What do you mean "internal scheduler"? When you define a scheduler through the scheduler factory bean, you can just use it with dependency injection by declaring another bean which receives a...
Uh, no, I didn't explain well. The scenario is:
1) A tries to execute foo
2) foo fails, so A itself schedules a job which will re-execute foo some time later
3) the job must access A in order to...
I have a bean A which tries to perform an operation, and upon failure schedules a Job on a scheduler B in order to re-perform it later. I use the SchedulerFactoryBean and tried to put the bean A in...