Uploaded image for project: 'PUBLIC - Liferay Faces'
  1. PUBLIC - Liferay Faces
  2. FACES-1493

PACL SecurityException caused by BridgeRequestScopeLiferayImpl

    Details

      Description

      The static initialization block of BridgeRequestScopeLiferayImpl is calling com.liferay.portal.kernel.util.JavaConstants.getDeclaredFields() in order to get the names/values of all of the constants. But this causes PACL to throw a SecurityException. Instead of calling getDeclaredFields(), it is more appropriate to call getFields() because all of the constants are public anyway. That will avoid the SecurityException.

        Attachments

          Activity

            People

            • Assignee:
              neil.griffin Neil Griffin
              Reporter:
              neil.griffin Neil Griffin
              Participants of an Issue:
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Packages

                Version Package
                liferay-faces-2.1.2-ga3
                liferay-faces-3.0.2-legacy-ga3
                liferay-faces-3.0.2-ga3
                liferay-faces-3.1.2-ga3