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...
Type: Posts; User: Film Noir; Keyword(s):
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...
Is the same true of classes which implement an interface? I shifted the code to a service class and it is still 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...
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...
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...
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?...
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...
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...
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...
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...
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...
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?
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...
Thanks - exactly what I needed.
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...
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...
Thanks.
What would be the best way of checking the users authorization within the controller? (I'm using Acegi).
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...
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...
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.
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...