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

RSS Activities portlet feed in private pages does not work with Basic and Digest Auth

Details

    Description

      RSS Activities portlet feed in private pages does not work with Basic Auth

      Root cause of the issue
      The rss url is generated without friendly url, so it doesn't match with the url-regex-pattern of "Secure RSS Filter" in liferay-web.xml

      Steps to reproduce - Basic Auth:

      1. Create a private page
      2. Add a Social activities portlet
      3. Copy the RSS link and open a new unauthenticated browser window (for example: change from chrome to firefox or open a private window)
        • Expected behavior: A basic auth dialog is displayed
        • Wrong behavior: The standard login form is displayed

      Steps to reproduce - Digest Auth:

      1. Edit $LIFERAY_HOME/tomcat-x.x.x/webapps/ROOT/WEB-INF/liferay-web.xml
      2. Go to <filter-name>Secure RSS Filter</filter-name> line and change basic_auth to digest_auth:
        	<filter>
        		<filter-name>Secure RSS Filter</filter-name>
        		<filter-class&amp;gt;com.liferay.portal.servlet.filters.secure.SecureFilter</filter-class&amp;gt;
        		<init-param>
        			<param-name>digest_auth</param-name>
        			<param-value>true</param-value>
        		</init-param>
        
      1. Start Liferay server
      2. Create a private page
      3. Add a Social activities portlet
      4. Copy the RSS link and open a new unauthenticated browser window (for example: change from chrome to firefox or open a private window)
        • Expected behavior: A digest auth dialog is displayed
        • Wrong behavior: The standard login form is displayed

      Attachments

        Issue Links

          Activity

            People

              abel.yu Abel Yu (Inactive)
              jorge.diaz Jorge Diaz
              Marta Elicegui Marta Elicegui
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:
                5 years, 6 weeks, 6 days ago

                Packages

                  Version Package
                  7.0.0 DXP FP47
                  7.0.0 DXP SP8
                  7.0.X
                  7.1.0 Beta 1
                  7.1.X
                  Master