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

CAS Filter Fails When Url Pattern is changed to /*

Details

    Description

      If you want CAS To Work on any page that a user goes to (without clicking login) you can change the filter in the WEB.XML but if you do and go to the server without a url there is a nullpoint ererror in the log and you cannot get to Liferay... I found that by changing the code in com.liferay.portal.servlet.filters.sso.cas.CASFilter

      From

      if (pathInfo.indexOf("/portal/logout") != -1)

      To

      if (pathInfo != null && pathInfo.indexOf("/portal/logout") != -1) {

      Fixes it.

      Attachments

        Activity

          People

            brian.chan Brian Chan
            dale.shan Dale Shan (Inactive)
            Kiyoshi Lee Kiyoshi Lee
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:
              10 years, 8 weeks, 6 days ago

              Packages

                Version Package
                6.1.X EE
                6.2.0 CE B2