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

Programmatic configuration of CXF Endpoints doesn't allow setting multiple authVerifierProperties

    Details

      Description

      For CXF Endpoints we can set multiple authVerifierProperties when configuring on the UI. This configuration can be even exported into a .config file and applied via dropping into osgi/config folder.

      When using programmatic configuration, however, multiple values of authVerifierProperties property is handled as a single string.

      Steps to reproduce:

      1. Deploy the the attached com.configtest.basicAuthTest.jar file the osgi/configs folder
      2. Go to Control Panel -> System Settings -> CXF Endpoints

      Expected: There are two separate Authentication Verifier Properties field filled, one with value auth.verifier.BasicAuthHeaderAuthVerifier.urls.includes\=* and other with auth.verifier.PortalSessionAuthVerifier.urls.includes\=*
      Actual: There is a single Authentication Verifier Properties field filled with the value ["auth.verifier.BasicAuthHeaderAuthVerifier.urls.includes=*","auth.verifier.PortalSessionAuthVerifier.urls.includes=*"]

        Attachments

          Activity

            People

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

              Dates

              • Created:
                Updated:
                Resolved:
                Days since last comment:
                13 weeks, 3 days ago

                Packages

                Version Package
                7.0.0 DXP FP82
                7.0.X
                7.1.3 CE GA4
                7.1.10 DXP FP11
                7.1.X
                Master