Search:

Type: Posts; User: Film Noir; Keyword(s):

Search: Search took 0.02 seconds.

  1. Secured method, failing to evaluate expression

    Greetings all,

    I'm trying to secure a method with the following logic:



    @PreAuthorize("hasRole('admin') or #object.moderators.?[#this.account.id == principal.id].size() == 1")
    public void...
  2. Is the same true of classes which implement an...

    Is the same true of classes which implement an interface? I shifted the code to a service class and it is still ignored.
  3. @PreAuthorize & @PostAuthorize being ignored

    Greetings,

    I'm using Spring 3.2.0 and Spring Security 3.1.2

    I'm having a problem with my secured method annotations, the secured method is a private method within a Controller, but it is being...
  4. Under what circumstances will there be a...

    Under what circumstances will there be a SavedRequest? I'm finding that there is only a SavedRequest when I attempt to access a protected resource and have to login, otherwise it is null.

    For...
  5. remember-me custom auth success handler, always redirected to default target url

    Greetings,

    As part of our webapp we need to load some data into the user session once they have logged into our website. We need this data to be available to both http and https pages on our...
  6. Replies
    0
    Views
    738

    Serving sitemap.xml and robots.txt

    Greetings,

    Apologies if this has been asked before - I couldn't find anything by searching.

    What's the best / recommended way of serving files like sitemap.xml and robots.txt with Spring 3 MVC?...
  7. Replies
    7
    Views
    1,171

    I think the problem was TCPMon - it was changing...

    I think the problem was TCPMon - it was changing the initial request line to use abs_path instead of absoluteURI which I think was causing the 301. But as I was still getting a "html" response even...
  8. Replies
    7
    Views
    1,171

    Thanks for taking the time to examine the code -...

    Thanks for taking the time to examine the code - much appreciated!

    Ironically I only implemented the interceptor so I could peek into the request/response because of a previous issue. I used...
  9. Replies
    7
    Views
    1,171

    Hi Keith, I uploaded the current code to...

    Hi Keith,

    I uploaded the current code to github: https://github.com/FilmNoir/spring-social-plurk/blob/master/src/org/springframework/social/plurk/connect/PlurkConnectionFactory.java

    So far I...
  10. Replies
    7
    Views
    1,171

    Spring Social and Plurk

    I'm trying to implement a Plurk provider for Spring Social so users can signin with their Plurk account in my webapp. API detailed here: http://www.plurk.com/API it is based in Oauth 1.0a

    I'm...
  11. Replies
    25
    Views
    2,357

    Hi, Sorry I don't have an answer, but I'm...

    Hi,

    Sorry I don't have an answer, but I'm facing a similar problem and also wondering whether I am missing something.

    The pages appear to be hardcoded to /connect/twitterConnect.jsp and...
  12. Looking at the source code I suspect it's an...

    Looking at the source code I suspect it's an issue with the mime type of the file. Is there any way I can change the file extension associations in Spring?
  13. Accessing .properties file from public url

    Greetings,

    I need to use a jQuery extension to support i18n in javascript. Therefore I need to be able to access .properties file from a url, however I'm getting a 404 even though the file is...
  14. Replies
    2
    Views
    2,351

    Thanks - exactly what I needed.

    Thanks - exactly what I needed.
  15. Replies
    2
    Views
    2,351

    Accessing BindingResult in jsp

    Is it possible to directly access the BindingResult object in a jsp page? <form:errors /> doesn't seem to give much option.

    I have part of the form which by default is hidden but the user can...
  16. Replies
    0
    Views
    614

    Dynamic redirect after login

    Greetings,

    The website I'm working on has a forum as a separate webapp and we want to integrate a single sign-on. We've achieved this via cookies with them being set in the main webapp (the...
  17. Thanks. What would be the best way of checking...

    Thanks.

    What would be the best way of checking the users authorization within the controller? (I'm using Acegi).
  18. [Design] Allowing admin to edit user details

    Greetings Spring gurus,

    I'm attempting to implement functionality that is fairly common in web apps, but I’m not actually sure how best to implement it with Spring MVC.

    When a user logs into...
  19. Replies
    0
    Views
    780

    Load user details on login

    Greetings,

    We're using Spring Acegi security in our webapp, and once the user has been authenticated I need to load an associated 'User' object and place it in the session. We actually have...
  20. Replies
    5
    Views
    3,892

    On further reading should the...

    On further reading should the <validator:javascript /> tag be placed within the form tag, or after it?

    I've tried both those places, and the inside the <head> tag, without success.
  21. Replies
    5
    Views
    3,892

    Client Side Validation (Commons Validator)

    Greetings,

    I'm fairly new to Spring and struggling to get client-side validation working correctly.

    I've managed to get server-side validation working correctly, but the same configuration will...
Results 1 to 21 of 21