Uploaded image for project: 'JBoss Enterprise Application Platform'
  1. JBoss Enterprise Application Platform
  2. JBEAP-6207

Single Logout does not fully work on distributed PicketLink Identity Provider

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Critical Critical
    • 7.1.0.DR12
    • 7.0.0.ER7, 7.1.0.DR5
    • Security
    • None
    • Hide

      Given:

      • EAP instance EAP1 with PicketLink SP1
      • EAP instance EAP2 with PicketLink SP2
      • EAP instance EAP3 with distributable PicketLink IdP
      • EAP instance EAP4 with distributable PicketLink IdP
      • no load balancer to simplify the test case
      • SP1 targets IdP @ EAP3 (set in picketlink.xml config)
      • SP2 targets IdP @ EAP4 (set in picketlink.xml config)

      Procedure:
      When user requests SP1, then user should be redirected to IdP @ EAP3, and IdP shoud prompt user to log in. [OK]
      When user logs in to IdP @ EAP3, then IdP should redirect user back to SP1, and SP1 should return index page (user should be logged in to SP1). [OK]
      When user requests SP2, then user should be redirected to IdP @ EAP4, and then user should be redirected back to SP2, and SP2 should return index page (user should be logged in to SP2). [OK]
      When user user requests Global Logout on SP1, then user should be logged out from SP1, SP2, and IdP. [FAILURE]

      • user is logged out from SP1 and IdP (@ both EAP3 and EAP4), but not from SP2 – GLO workflow miss SP2
      Show
      Given: EAP instance EAP1 with PicketLink SP1 EAP instance EAP2 with PicketLink SP2 EAP instance EAP3 with distributable PicketLink IdP EAP instance EAP4 with distributable PicketLink IdP no load balancer to simplify the test case SP1 targets IdP @ EAP3 (set in picketlink.xml config) SP2 targets IdP @ EAP4 (set in picketlink.xml config) Procedure: When user requests SP1, then user should be redirected to IdP @ EAP3, and IdP shoud prompt user to log in. [OK] When user logs in to IdP @ EAP3, then IdP should redirect user back to SP1, and SP1 should return index page (user should be logged in to SP1). [OK] When user requests SP2, then user should be redirected to IdP @ EAP4, and then user should be redirected back to SP2, and SP2 should return index page (user should be logged in to SP2). [OK] When user user requests Global Logout on SP1, then user should be logged out from SP1, SP2, and IdP. [FAILURE] user is logged out from SP1 and IdP (@ both EAP3 and EAP4), but not from SP2 – GLO workflow miss SP2

      Single Logout (Global Logout, GLO) does not fully work on distributable PicketLink IdP under certain circumstances – in case user uses (or is forced to use) different nodes with IdP for logging in and/or logging out to/from SPs (e.g. no sticky sessions, or a node failure), user can remain logged in at several service providers.

      The issue may cause instability to a PL deployment where IdPs are distributed across different nodes/instances.

      SAML2LogOutHandler uses IdentityServer structure stored in ServletContext – IdentityServer is not replicated/shared between instances. Thus, the list of participants is limited to the IdP where the logout was sent to.

              psilva@redhat.com Pedro Igor Craveiro
              okotek@redhat.com Ondrej Kotek
              Ondrej Kotek Ondrej Kotek
              Ondrej Kotek Ondrej Kotek
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

                Created:
                Updated:
                Resolved: