I cloned the spring-security-oauth Git repo and checked out the 1.0.0.M6 tag. I then followed the instructions for building and running the oauth2 samples. When I through the simple workflow of...
Type: Posts; User: mraccola; Keyword(s):
I cloned the spring-security-oauth Git repo and checked out the 1.0.0.M6 tag. I then followed the instructions for building and running the oauth2 samples. When I through the simple workflow of...
I have a need to programatically create a new bean based on an existing bean. I would like to have an annotated bean class like this:
@Service
@ExportedBean
class Foo {
@ExportedMethod
...
I really appreciate the quick response and the helpful information. Here is my solution in case others run across the same need.
public class MyAfterInvocationProviderBeanPostProcessor...
I am using the namespace configuration to setup Spring security like so:
<security:global-method-security secured-annotations="enabled" access-decision-manager-ref="accessDecisionManager"/>
...
Really sorry about this cross post but I think I posted a question about Quartz to the wrong subforum. The original post is here,...
I am registering several QuartJobBeans. The job beans need access to other service beans so I am trying to pass them into the bean by adding entries to jobDataAsMap. I then setup properties and...
I should also mention...the approach I am currently using to apply both built-in and custom authorization on the same method is to define a custom method annotation (for example @MyClassAuthorizer). ...
Thanks a lot for the reply...it's really great to get timely answers on a forum.
What you are saying does make sense for my current use case. However, maybe I'm thinking about this wrong but I...
I am struggling with trying to apply some authorization logic before a method is called. I am using Spring Security 3.0.4 with the annotation-driven approach. I have already implemented some simple...
I don't know off the top of my head but it might be a good idea to reconsider your URL strategy.
I've always considered it a best practice to put all your application controller-driven content...
I have a set of checkboxes on a form. The user can select multiple checkboxes. When the user leaves the page and then returns to the page any selections which they made should be presented as...
I sincerely apologize for the post. This was due to an incorrect proxy which was applied the JMS Connections.
I did some further testing on this. For the test I disabled one of my 3 message listeners, leaving just 2 enabled.
For the first test I increased the receiveInterval to 120000. Then I remote...
I am using 3 instances of DefaultMessageListener to access 3 different queues. Each listener is configured identically except for the destination and messageListener properties.
<bean...
Anyone who is looking to use Spring on IBM WebSphere should read this article.
It gives a list of no-nos, one of which appears to be MDP (see the section on Inbound JMS Messaging). Can someone...
I think you are right that classpath* is the way to go. I did some testing over the weekend and the beanRefFactory.xml configuration I attached below seems to work OK except I have 2 issues with...
I am looking for some advice on a scenario for loading ApplicationContexts. The project I am working on requires that we develop the application in a modular fashion and, based on what modules our...
I'm currently evaluating EJB 3.0 vs. Spring Remoting for distributing my applications business tier. I like Spring Remoting as our architecture is exclusively POJO-based right now. The biggest...
Can someone please explain how Spring's Message-driven POJOs will work in a strict J2EE 1.4 environment? Specifically the J2EE spec forbids calling MessageConsumer.setMessageListener within the...
I am having a terrible time getting my beans exported into WebSphere's MBean server. I am using WAS 5.1.1 with PARENT_LAST class loader mode.
When I try using MBeanExporter without specifying a...
I did some more research in this area and found that Spring works beautifully without any modification.
I used the out-of-the-box OpenSessionInViewFilter, which has FlushMode.NEVER. Whenever I...
In appears that setting FLUSH_AUTO in OpenSessionInViewFilter can have a drag on performance of read-only use cases. For example a big search which loads a lot of objects into the Hibernate Session...
I also posted this on the CGLIB support forum, but perhaps someone from the Spring team might be able to help.
I am having a memory leak on web application restart problem. I see CGLIB had a bug...