Search:

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

Page 1 of 2 1 2

Search: Search took 0.02 seconds.

  1. Securing Interface Methods with AspectJMethodSecurityInterceptor in 3.03 vs 1.08

    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...
  2. if i do parent.setChildren(new...

    if i do



    parent.setChildren(new HashSet<Child>());


    i get
  3. it seems nobody else has this problem. Or didn't...

    it seems nobody else has this problem. Or didn't you understand my question?
  4. Hibernate One Shot Delete instead of many single Delete Statements

    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...
  5. Replies
    2
    Views
    6,831

    Found on ...

    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" ...
  6. Is it ok to have multipe To-Header with MimeMailMessageHelper (RFC 822)

    If i send a mail like this:


    JavaMailSenderImpl sender = new JavaMailSenderImpl();
    sender.setHost("mail.host");
    MimeMessage message = sender.createMimeMessage();
    MimeMessageHelper helper = new...
  7. Thanks a lot for your help. i still think that...

    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...
  8. It is not me having problems but Acegi :-) (just...

    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!...
  9. Second Issue solved

    If you use

    - httpSessionContextIntegrationFilter
    - anonymousProcessingFilter

    and you have
    - two threads
    - both threads use the same httpSession
    - both get their securityContext from the...
  10. now i understand my first issue.. maybe: 1....

    now i understand my first issue.. maybe:

    1. "Bug" in AnonymousProcessingFilter

    If the session is not eagerly created by httpSessionContextIntegrationFilter then AnonymousProcessFilter creates...
  11. ok, i ll try to clarify my problem and i think i...

    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...
  12. AnonymousProcessingFilter does not remove Token with removeAfterRequest=true

    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...
  13. BasicProcessingFilter does not reauthenticate if AnonymousAuthentication is given

    hi,

    i have chained the following Filters in this order:

    anonymousProcessingFilter (acegi)
    autoRegitryFilter (own)
    formAuthenticationProcessingFilter (acegi)
    ...
  14. Replies
    2
    Views
    1,873

    look here...

    look here
    http://forum.springframework.org/showthread.php?t=34221
  15. Replies
    0
    Views
    1,477

    LocaleResolver and JVM default locale

    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...
  16. XmlWebApplicationContext not instanceof WebApplicationContext??

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

    just for further reference as i came across this...

    just for further reference as i came across this thread:
    it must be IMHO:



    ServletContext sc =
    new MockServletContext("file:/path/to/web_home");
  18. stacktrace: I don't want to initalize...

    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...
  19. fetch="join" + navigating graph with iterator().next()

    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....
  20. OpenSessionInControllerInterceptor?

    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...
  21. karldmoore, thanks for your reply. But how do i...

    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...
  22. Keep Hibernate Session open per handleRequest NOT in View?

    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...
  23. not fixed in sitemesh 2.3

    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:
    ...
  24. SOLUTION: sitemesh gets executed but doesn't decorate the page

    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...
  25. My "problem" is that binding should be done 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...
Results 1 to 25 of 42
Page 1 of 2 1 2