Uploaded image for project: 'eZ Publish / Platform'
  1. eZ Publish / Platform
  2. EZP-19243

Sso login mechanism should break inmediately after found a valid ssouser

    XMLWordPrintable

Details

    Description

      hi. suppose the case you have two or more ssohandlers. let's call them ssohandler1 and ssohandler2.
      extension ordering makes ssohandler1 runs before ssohandler2

      in this situation, it my happens ssohandler1 returns true, but loop will continue and will execute the related ssohandler2 function. and if this second one returns false, user won't be logged.

      the problem is the $ssoUser !== false check is after the loop.

      Steps to reproduce

      1 just add two ssohandlers to your ez install.
      2 make first return an ezpublish user
      3 make second return false.

      as result, user won't be logged but it should...

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              desorden Carlos Revillo
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0 minutes
                  0m
                  Logged:
                  Time Spent - 1 day, 2 hours, 30 minutes
                  1d 2h 30m