Results 1 to 3 of 3

Thread: JA-SIG CAS server. Single Sign Out feature conflict with session-fixation protection

  1. #1
    Join Date
    Jan 2011
    Posts
    2

    Default JA-SIG CAS server. Single Sign Out feature conflict with session-fixation protection

    Hello,

    I run into problems with CAS Single Sign Out feature working with session-fixation protection feature.

    Indeed, Spring Security ConcurrentSessionControlStrategy always invalidate the existing session (call of session.invalidate()) and create new one to prevent from session-fixation attacks.

    So, after CAS login process, SingleSignOutHttpSessionListener.sessionDestroyed( ) is called causing "ST to original session association" to be removed from SingleSingOutFilter's SESSION_MAPPING_STORAGE member.

    When a single sign out request is posted, the new session isn't invalidated because "ST to new session association" were never been registered in SingleSingOutFilter's SESSION_MAPPING_STORAGE member.

    Versions :
    Spring Security 3.0.5.RELEASE
    Spring Security CAS Client 3.0.5.RELEASE
    Cas Client Core 3.1.10
    Cas Server 3.4.4

    Thanks for reply
    Fabrice DUBOIS

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

    Default

    You are right that they will not work together. You might log a JIRA to request support for both. Naturally you can plugin your own implementations to correct the issue too.
    Rob Winch
    Twitter @rob_winch
    Spring Security Lead
    Spring by Pivotal

  3. #3
    Join Date
    Jan 2011
    Posts
    2

    Default

    Thank you very much for your reply. I will create a JIRA issue.

Posting Permissions

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