Results 1 to 2 of 2

Thread: Problem with session-management

  1. #1
    Join Date
    Jan 2010
    Posts
    14

    Default Problem with session-management

    Hello !!

    I am getting the following exception:

    java.lang.ClassCastException: org.springframework.context.event.ContextRefreshed Event cannot be cast to org.springframework.security.core.session.SessionD estroyedEvent

    My configuration is the following one:

    web.xml

    <listener>
    <listener-class>org.springframework.security.web.session.Htt pSessionEventPublisher</listener-class>
    </listener>

    applicationContext-security.xml

    <security:http auto-config="true">
    ....
    <security:logout />
    <session-management session-fixation-protection="none">
    <concurrency-control max-sessions="1" expired-url="/login.htm" />
    </session-management>
    </security:http>


    Can anybody help me ???

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

    Default

    Please provide a full stack trace (using the code tags)?
    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
  •