Uploaded image for project: 'PUBLIC - Liferay Portal Community Edition'
  1. PUBLIC - Liferay Portal Community Edition
  2. LPS-30678

SiteMinderAutoLogin throws NoSuchUserException for every action if no match for user in Liferay

    Details

    • Branch Version/s:
      6.1.x
    • Backported to Branch:
      Committed
    • Fix Priority:
      3

      Description

      • Reproduction Steps -
        0 - Add the following properties in the portal-ext:
        siteminder.auth.enabled=true
        siteminder.user.header=SM_USER
        1 - Set up Liferay to authenticate by screenName
        2 - Check in CP -> Portal Settings -> Authentication -> Site Minder that it is enabled
        3 - Download the following addon for Firefox (needed to test): https://addons.mozilla.org/en-US/firefox/addon/967/
        4 - Set the following header: SM_USER and assign the value "test" to it.
        5 - Enable the header, and check in Firebug that it is showing up in the header
        6 - Change the value of SM_USER to a user that is not a user in Liferay
        7 - For every action you'll get NoSuchUserException (e.g. navigating, clicking on a link, etc)

        Issue Links

          Activity

          Hide
          tammy.fong Tammy Fong (Inactive) added a comment -

          Committed on:
          Portal 6.2.x GIT ID: 7f10f66da8de3eb254c49a89f9f5ef1d5e500e2c.

          Show
          tammy.fong Tammy Fong (Inactive) added a comment - Committed on: Portal 6.2.x GIT ID: 7f10f66da8de3eb254c49a89f9f5ef1d5e500e2c.
          Hide
          pani.gui Pani Gui (Inactive) added a comment -

          PASSED Manual Testing following the steps in the description.

          Reproduced on:
          Tomcat 7.0 + MySQL 5. Portal 6.1.20 EE GA2.

          NuSuchUserException is thrown in the console.

          Fixed on:
          Tomcat 7.0 + MySQL 5. Portal 6.1.x EE GIT ID: 8cb60933fbbb3613c075bac9fb777c137460ea3d.
          Tomcat 7.0 + MySQL 5. Portal 6.2.x GIT ID: 554c53218d9ba7d4a55a88984fc420b5d9e95ff0.

          There is no exception in the console.

          Show
          pani.gui Pani Gui (Inactive) added a comment - PASSED Manual Testing following the steps in the description. Reproduced on: Tomcat 7.0 + MySQL 5. Portal 6.1.20 EE GA2. NuSuchUserException is thrown in the console. Fixed on: Tomcat 7.0 + MySQL 5. Portal 6.1.x EE GIT ID: 8cb60933fbbb3613c075bac9fb777c137460ea3d. Tomcat 7.0 + MySQL 5. Portal 6.2.x GIT ID: 554c53218d9ba7d4a55a88984fc420b5d9e95ff0. There is no exception in the console.
          Hide
          sophia.zhang Sophia Zhang added a comment -

          Thank you Pani for testing. Closing as "Fixed".

          Show
          sophia.zhang Sophia Zhang added a comment - Thank you Pani for testing. Closing as "Fixed".

            People

            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:
                Days since last comment:
                4 years, 13 weeks ago

                Development

                  Subcomponents