Search:

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

Page 1 of 8 1 2 3 4

Search: Search took 0.02 seconds.

  1. Replies
    1
    Views
    1,176

    Complex architecture for simple application

    Hi all,

    As a consultant, I am responsible for designing the architecture of an application for an external company. The requirements for this application are rather simple and the whole thing...
  2. Allright, thanks Luke!

    Allright, thanks Luke!
  3. Replies
    7
    Views
    1,587

    You could always retrieve the current...

    You could always retrieve the current SecurityContext in your entity using SecurityContextHolder.getContext() and perform access control manually. Not very clean as it would introduce a runtime...
  4. Replies
    7
    Views
    1,587

    The pointcut you configured will only match...

    The pointcut you configured will only match Spring-registered components, i.e. classes declared as <bean>s in your application context or classes annotated with @Component (or some other stereotype...
  5. Replies
    7
    Views
    1,587

    The Spring Security filters are not applied to...

    The Spring Security filters are not applied to your entities because they are not managed by Spring. Your entities are created either through the new operator or your ORM (e.g. Hibernate), so no...
  6. intercept-url for nested URLs not working if both access and filters are used

    Hi,

    Before opening a JIRA for this, I would like to get your feedback first. Consider the following applicationContext.xml snippet:



    <sec:http entry-point-ref="entryPoint">...
  7. Replies
    0
    Views
    908

    Securing a stateful web service

    Hi guys,

    We are planning on developing a layer of REST services to expose services hosted on a legacy system. These services will be used by a classic web application and native mobile phone...
  8. Replies
    1
    Views
    500

    Transaction and sending an email

    Hi guys,

    Considering the common use case of a user creating a new account on a web application and the application sending a confirmation email to the user's address. From what I've seen, this is...
  9. Replies
    2
    Views
    559

    Thanks Luke, works like a charm. As you said,...

    Thanks Luke, works like a charm. As you said, our previous approach wasn't working because we had put filters='none', so the filters didn't catch the updated SecurityContext. Settings...
  10. Replies
    1
    Views
    488

    Turns out that rather simple solutions to both...

    Turns out that rather simple solutions to both problems had eluded us.

    1. We used a hidden field to contain the actual value, and JavaScript to convert to and from the combo boxes.
    2. We...
  11. Replies
    1
    Views
    488

    Binding entities to your view

    Hi guys,

    We've been binding entities directly to our views quite successfully using the different PropertyEditors. We are now running into 2 situations which seem to mandate the use of an...
  12. Replies
    2
    Views
    559

    Form-based and username-less login

    Hello all,

    Our application will use Spring Security 3.0 for authentication and authorization purposes. Two types of users will need to access the application: support users, which have access to...
  13. Replies
    6
    Views
    1,199

    I might be missing something here, but I don't...

    I might be missing something here, but I don't see how this could be done with AOP. Since it's the service client that knows what associations he needs to be loaded, it's build the Runnable itself...
  14. Replies
    6
    Views
    1,199

    Well, in step 5 the controller would receive...

    Well, in step 5 the controller would receive associations for root id=1 and version=2 instead of what he expected. In a way, you could say that it would receive the latest data, which could be seen...
  15. Replies
    6
    Views
    1,199

    Thanks for replying. About problem 1, I...

    Thanks for replying.

    About problem 1, I understand that the transaction will be opened on the database side only, but isn't that in itself a performance hit? Are there any numbers that would...
  16. Replies
    6
    Views
    1,199

    Why not to use OpenEntityManagerInViewFilter

    Hi guys,

    While a lot of posts have been written on the subject of OpenSession/EntityManagerInViewFilter, I couldn't find any that mentions its flaws. From what I understand, and assuming a...
  17. Somehow the code is now working, but I'm afraid I...

    Somehow the code is now working, but I'm afraid I don't understand why. I only made some cosmetic changes - initializing the parameter map a little earlier - but nothing else. Maybe it was related...
  18. Looking at the logs, I see the following...

    Looking at the logs, I see the following (slightly edited):



    <Debug> <org.springframework.jdbc.core.simple.SimpleJdbcCall> <Added row mapper for [lookupMasterListing]:...
  19. SimpleJdbcCall with OUT REF_CURSOR - RowMapper not called

    Hi guys,

    We're using Spring 2.5.6 to call a stored procedure on an Oracle 9.2 database. The stored procedure looks like this for the moment:



    create or replace
    procedure...
  20. Replies
    3
    Views
    697

    I would've liked to avoid declaring callTxMethod...

    I would've liked to avoid declaring callTxMethod in the interface, but it seems I won't have any choice.

    Instead of the AopContext.currentProxy() method, I've made the component...
  21. Replies
    3
    Views
    697

    Self-referencing components

    Hi guys,

    I'm sure this has been discussed before, but I can't seem to find anything on the subject in the forums.

    I have a Spring bean that needs to be wired to its proxied self so that it can...
  22. Replies
    8
    Views
    2,553

    You're absolutely right. I moved the discussion...

    You're absolutely right. I moved the discussion over here.
  23. EntityManager and transaction management with JSF

    Hi guys,

    I'm moving a thread that started here to gather more input.

    dxxvi initially asked whether using the OpenEntityManagerInViewFilter in a JSF-based web app would allow him to avoid...
  24. Replies
    8
    Views
    2,553

    Hi Adam, Thanks for your answers, it confirms...

    Hi Adam,

    Thanks for your answers, it confirms a few of my thoughts.

    The SPR-3179 phase listener uses Spring's PlatformTransactionManager so it has full control over transactions, although the...
  25. Replies
    8
    Views
    2,553

    I'm going through the same process of creating a...

    I'm going through the same process of creating a phase listener to manage transactions and entity managers - basically reimplementing what Seam already offers :)

    While I do agree that you don't...
Results 1 to 25 of 178
Page 1 of 8 1 2 3 4