Page 2 of 2 FirstFirst 12
Results 11 to 12 of 12

Thread: Spring security3 isEraseCredentialsAfterAuthentication() -No method found exception

  1. #11
    Join Date
    Nov 2012
    Posts
    9

    Default

    Hi Rob,
    Thanks for your help.
    I removed aopalliance bean from my root applicationContext and things worked.
    Can you please tell me whats the relationship between aopalliance bean and my spring security context ? Is there any conflict ?

  2. #12
    Join Date
    Jan 2008
    Posts
    1,826

    Default

    I suggest you read about AOP in the Spring Reference. You might also look at the Getting Started with Spring Security 3.1 presentation from SpringOne 2011 at around 1 hour in. In short, when you proxy an object using interface based proxying, it exposes only the interface methods. You could switch to CGLIB based proxies, which will still have all the methods available on it. Keep in mind there are certain limitations with CGLIB proxies (i.e. cannot proxy final classes, non-default constructors, etc). Your other option is to just not join on the Spring Security project.
    Rob Winch - @rob_winch
    Spring Security Lead
    Pivotal

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •