Results 1 to 2 of 2

Thread: ConcurrentSessionControllerImpl possibly broken

  1. #1
    Join Date
    Mar 2005
    Location
    Warsaw, Poland
    Posts
    4

    Default ConcurrentSessionControllerImpl possibly broken

    Hello Everybody.

    I think that net.sf.acegisecurity.providers.ConcurrentSessionCo ntrollerImpl is broken. It should implement interface org.springframework.context.ApplicationListener to properly receive events. But it doesn't, and that couses this implementation not to react on HttpSessionDestroyedEvent which is published by HttpSessionEventPublisher.

    Efect is that users can only login once in an application lifetime. I've managed to solve the problem by extending ConcurrentSessionControllerImpl and just adding that ApplicationListener to the 'implements' section.

    My enviroment is: springframework-1.1.5, acegi-security-0.8 and jboss4.0.1.

    Cheers,
    Wojtek

  2. #2
    Join Date
    Oct 2004
    Posts
    207

    Default

    Wow. That must have been lost during a refactoring or something.
    The test calls that method directly to ensure everything works as expected.

    Good catch. This has been fixed in CVS, and a test has been put in to ensure it never happens again.

Similar Threads

  1. Replies: 4
    Last Post: May 10th, 2005, 09:08 AM
  2. Replies: 1
    Last Post: Apr 21st, 2005, 04:08 PM
  3. Replies: 0
    Last Post: Jan 25th, 2005, 01:01 AM
  4. Replies: 1
    Last Post: Dec 5th, 2004, 07:46 AM
  5. No ref doc link broken
    By seldrick in forum Security
    Replies: 1
    Last Post: Nov 20th, 2004, 04:06 PM

Posting Permissions

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