Search:

Type: Posts; User: mraccola; Keyword(s):

Search: Search took 0.04 seconds.

  1. Replies
    6
    Views
    1,383

    OAuth2 Samples do not work in 1.0.0.M6

    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...
  2. Programatically register new bean based on annotation

    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
    ...
  3. Replies
    2
    Views
    401

    I really appreciate the quick response and the...

    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...
  4. Replies
    2
    Views
    401

    Autowire AfterInvocationProviders

    I am using the namespace configuration to setup Spring security like so:


    <security:global-method-security secured-annotations="enabled" access-decision-manager-ref="accessDecisionManager"/>

    ...
  5. QuartzJobBean JobDataMap and serializable entries

    Really sorry about this cross post but I think I posted a question about Quartz to the wrong subforum. The original post is here,...
  6. QuartzJobBean JobDataMap and serializable entries

    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...
  7. Replies
    4
    Views
    1,060

    I should also mention...the approach I am...

    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). ...
  8. Replies
    4
    Views
    1,060

    Thanks a lot for the reply...it's really great to...

    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...
  9. Replies
    4
    Views
    1,060

    Custom PreInvocation authorization logic

    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...
  10. Replies
    1
    Views
    620

    I don't know off the top of my head but it might...

    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...
  11. Velocity #springBind macro with Array property

    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...
  12. Replies
    4
    Views
    2,803

    I sincerely apologize for the post. This was due...

    I sincerely apologize for the post. This was due to an incorrect proxy which was applied the JMS Connections.
  13. Replies
    4
    Views
    2,803

    I did some further testing on this. For the test...

    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...
  14. Replies
    4
    Views
    2,803

    Extra Polling with DefaultMessageListener

    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...
  15. Anyone who is looking to use Spring on IBM...

    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...
  16. Reply

    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...
  17. Flat ApplicationContext with SingletonBeanFactoryLocator

    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...
  18. Replies
    0
    Views
    651

    Spring Remoting and Deployment

    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...
  19. Asyncronous Message Consumption with J2EE 1.4

    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...
  20. Replies
    1
    Views
    2,473

    JMX with WebSphere and JBoss TreeCache

    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...
  21. Replies
    22
    Views
    19,917

    No problems

    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...
  22. Replies
    22
    Views
    19,917

    OpenSessionInViewFilter flush mode

    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...
  23. Replies
    1
    Views
    1,641

    Web Application ClassLoader not released

    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...
Results 1 to 23 of 23