Capability

Security

Liferay DXP is built with security in mind. A variety of standards based authentication methods and integrations can be used to ensure secure access to a site and its resources. Robust role-based access control with permissions gives you fine grained control over what authenticated and unauthenticated users can access, share, or edit. Liferay DXP’s web services also have a multi-layered and configurable approach to security and authorization.

Feature
Deployment Approach
'Connection reset by peer' when uploading files
Issue You are encountering the following exception in the logs: java.io.IOException: Connection reset by peer Users cannot upload files and errors like the following are printed (some examples): WARN...
Unable to disable the footer option after upgrading to Liferay DXP 7.2
Issue 1) Not able to disable the footer option of the classic theme after upgrading the Liferay 7.0 to Liferay 7.2 2) Steps to reproduce Go to the public page configuration To disable show footer, unchecked show...
Is it possible to change how much memory Gradle uses during a Liferay PaaS build in Jenkins?
Issue Since our Jenkins builds are using Gradle Daemons, we would like to increase the memory available to control how much memory Gradle uses, so that it is increased from this default: org.gradle.jvmargs=-Xmx512m...
Liferay PaaS - DB user doesn't have super privileges for the database service
Note: please note that Liferay has renamed its Liferay Experience Could offerings to Liferay SaaS (formerly LXC) and Liferay PaaS (formerly LXC-SM). Issue Liferay PaaS backup service will throw: ERROR 1227...
Groovy Script for deleting users from the database
Directly modifying the database is not advised because we are unable to provide assistance regarding the damage it might do. The suggested approach in these cases is a groovy script that uses Liferay's API....
Java parameter UseContainerSupport doesn't work
Issue We are trying to specify the amount of memory Liferay can use by setting the -XX:+UseContainerSupport property However, it seems to take no effect and we don't see the specified limit shown in the...
Known issue: Error "Invalid version number: Version number may be negative or greater than 255" when starting up Liferay 6.2 using jdk 8u261 or later
Issue The following error was reported when starting up Liferay Portal 6.2 using jdk 8u261 or later Oct 19, 2020 3:02:57 AM org.apache.catalina.core.ApplicationDispatcher invoke SEVERE: Servlet.service() for servlet...
Remove portlets programmatically with the removePortletId method
Issue I would like to remove portlets from pages programmatically (e.g. with a script or a background job) with the use of the removePortletId method, but without permission checking.  Environment Liferay DXP...
Error "Incorrect string value" in logs when adding emojis to Web Content
Issue When inserting emojis (emoticons) to a Web Content article, the portal fails to add/update the article and an error similar to the one below is shown on logs. 09:33:30.544 ERROR...
Amazon S3 - Report generation leads to multipart upload failed error
Issue Cannot generate reports on Liferay 6.2 and Amazon S3 Hitting multipart upload error when creating CSV file Scenario - With an S3 bucket configured for use and a data-definition in place, we find that when...
Should OSGi config files and the values in the System Settings application always be in sync?
Issue I have a module where I do not want to store sensitive data (eg. password) in the config file I would like to provide this value over the UI in System Settings Is it possible to use a "mixed" approach?...
Content Delivery Network (CDN) configuration "cdn.dynamic.resources.enabled=false" is not working
Issue After setting cdn.dynamic.resources.enabled=false, Liferay is still accessing some CSS and JavaScript from the CDN URLs configured in cdn.host.http= and cdn.host.https= Environment Liferay...
Avoid user login after every session timeout
Issue On every session expire it is asking for user login again Environment Liferay 7.0 Resolution Login after each session timeout is the default functionality of the Liferay portal. In order to avoid login after...
HttpOnly flag in JSESSIONID cookie using JBOSS application server
Issue JSESSIONID cookie does not contain the HttpOnly flag. Environment Liferay Portal 6.2 JBOSS Resolution You need to change it on your application server configuration, in the...
Unable to capture page view data
Issue My script is not working to capture page count metrics Unable to record page count data Only able to capture page views when I refresh the browser When navigating around site pages only the content gets...
Is there any way to retrieve the User account's creator
Issue Is there any way or SQL statement to retrieve the User account's creator? Environment Liferay DXP 7.0 Resolution There have two ways to retrieve the User account's creator. The user account's creator can be...
Unable to restart bundles from GoGo Shell
Issue When running update {Portlet ID} in the GoGo Shell, you get an error on the UI saying the request could not be completed. Environment Liferay DXP 7.2 Resolution This behavior is a known issue when trying to...
How to configure the displayed time zones?
Issue It is widely documented that Liferay does not recommend changing the JVM time zone and that I should leave it as GMT. (See references under Additional Information). But me and my users are from different time...
Staging configuration is incorrect after fix pack update
Issue We have staging enabled for a long time with only the Dynamic Data Lists portlet staged After updating to Fix Pack 61 or above, our staging configuration has changed and shows not only the Dynamic...
How to check the number of retained sessions
This article has been machine translated from its original language for your convenience. Please use discretion as this translation may include some inaccuracies. If you encounter issues with the translation, please...