Hi,
we are upgrading an application from acegi 1.0.8 to spring-security 3.0.3
We want to secure our Service Interfaces and are using AspectJMethodSecurityInterceptor with a...
Type: Posts; User: janning; Keyword(s):
Hi,
we are upgrading an application from acegi 1.0.8 to spring-security 3.0.3
We want to secure our Service Interfaces and are using AspectJMethodSecurityInterceptor with a...
if i do
parent.setChildren(new HashSet<Child>());
i get
it seems nobody else has this problem. Or didn't you understand my question?
Hi,
i know my question relates to hibernate and not spring. But i hope i can use this forum as i don't like the hibernate forum. This one is much more helpful.
I dont understand One-Shot...
Found on
http://wiki.burnayev.com/thread/1455602/Alternative+spring+configuration?t=anon
and just copied here for further reference. It helped me a lot.
<bean id="hibernateStatisticsMBean" ...
If i send a mail like this:
JavaMailSenderImpl sender = new JavaMailSenderImpl();
sender.setHost("mail.host");
MimeMessage message = sender.createMimeMessage();
MimeMessageHelper helper = new...
Thanks a lot for your help.
i still think that the default configuration of AnonymousProcessingFilter should work with concurrent sessions. At least it should be documented in...
It is not me having problems but Acegi :-) (just kidding, acegi is great).
AnonymousAuthentication promises that you always have a Authentication in your SecurityContext. But this is not the case!...
If you use
- httpSessionContextIntegrationFilter
- anonymousProcessingFilter
and you have
- two threads
- both threads use the same httpSession
- both get their securityContext from the...
now i understand my first issue.. maybe:
1. "Bug" in AnonymousProcessingFilter
If the session is not eagerly created by httpSessionContextIntegrationFilter then AnonymousProcessFilter creates...
ok, i ll try to clarify my problem and i think i did come across a possible solution:
i use AnonymousAuthentication to always have an AuthenticationToken in the SecurityContext (as described in...
i use an AnonymousProcessingFilter but i use it in front of FormAuthenticationProcessingFilter (for reasons explained here http://forum.springframework.org/showthread.php?t=46807)
i got a strange...
hi,
i have chained the following Filters in this order:
anonymousProcessingFilter (acegi)
autoRegitryFilter (own)
formAuthenticationProcessingFilter (acegi)
...
look here
http://forum.springframework.org/showthread.php?t=34221
Hi,
i need my webapp in different languages, but my base language is german, so i have two files:
messages.properties [german]
messages_en.properties
no i tested it on a server with a...
Hi,
i am trying to use write a testcase with htmlunit and jetty started right from the test case.
this is one of my mehtods which i took from this article on java.net
protected Object...
just for further reference as i came across this thread:
it must be IMHO:
ServletContext sc =
new MockServletContext("file:/path/to/web_home");
stacktrace:
I don't want to initalize articles as i aspect them to be loaded by hibernate anyway by the fetch="join" strategy in my mappings. So i know how to prevent the Exception. I just...
i admit this is more a hibernate issue. Blame me if this is not the right forum to post my question but i tried the hibernate forums and it was not very responsive....
i just looked at the SourceCode of OpenSessionInViewInterceptor and in my scenario i could close the session in postHandle
Couldn't it be done like this:
public class...
karldmoore, thanks for your reply. But how do i bind my (Hibernate) Session to a threadLocal? I am quite new to all this stuff, any hint is very appreciated.
As is use an assembly phase before...
Hi,
first: i don't and don't want to use OpenSessionInView (OSIV). This would be the easiest solution to my problem. But for several reasons i don't want to use it (and should be discussed...
the new SiteMeshFilter doesn't fix the problem. SiteMeshFilter does try to handle exceptions, but it set FILTER_APPLIED to null only on ServletException which doesn't fit to AccessDeniedException:
...
i had the same problem and came across this thread.
I tracked down the reason:
First: Sitemesh get called. It's not ACEGIs fault.
Take a look at...
My "problem" is that binding should be done at one place not at two places and one paramter shouldn't be binded twice. that's all. As everything works actually if you dou the binding in...