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
Getting the themeDisplay object in DXP themes and layout templates
Issue In Liferay Portal 6.2, the themeDisplay object was inherited in themes and layout templates. How is it possible to get the same object in DXP? Environment Liferay DXP 7.0 Liferay...
Cannot Request Users With long userid After Patching to DE-93
Issue We use this code to secure our API calls in our customization: (request variable is an HttpServletRequest object from @Context annotation) long userId = GetterUtil.getLong(request.getRemoteUser());  user =...
Changing layout's type removes portlet preferences
Issue Changing our page's type from "Layout" to "Link to URL" then back to "Layout", the page won't retain its portlets configuration Environment Liferay DXP 7.0 with Fix Pack 93 or below Resolution The...
Checking the different fixes between two hotfixes
Issue We have two hotfixes and we would like to know the difference between them How can we check the common and different fixes within those hotfixes? Environment Liferay Portal 6.2 Liferay DXP 7.0+...
Contributed Fragment Collection's content is not correct after deployment
Issue We have created a Contributed Fragment Collection, carefully following the documentation The collection contains two fragments After successful deployment, we see only one fragment is present twice...
How Can I Share Widget Content on Social Media?
Issue I would like to share blogs, web content, and other asset-based widgets on social media sites like Twitter, Facebook, or Linkedin. Environment DXP 7.2 DXP 7.1 DXP 7.0 Resolution Sharing widget content on...
Handling Freemarker Template Errors in the UI
Issue Liferay renders Freemarker Template errors in the UI, particularly when a Web Content template references a non-existent value from a Web Content structure. This can potentially cause confusion or negative user...
Liferay Audience Targeting 3.0.0+ does not work with Hypersonic
Issue Liferay Audience Targeting does not work with the built-in Hypersonic or HSQL database. Environment Liferay Audience Targeting 3.0.0+ Liferay DXP 7.1 Resolution Hypersonic is not supported by Liferay Audience...
Locale exceptions
Issue After upgrade, from Liferay 7.0 to Liferay 7.2,  facing the issue when trying to disable any option in public page configuration. The below exception is observed...
SAML logout when session expires
Issue The Single sign-on and Single log out are working fine when the user manually logs out but there is no Single logout happening on the portal session expiry Environment Liferay 7.0 as IdP Resolution  Service...
How to Resolve Commas Automatically Inserted Into Web Content When Using the Integer Structure
Issue When editing previously published web content which was made using the integer structure, commas are automatically inserted into the integers. This prevents the content from publishing. Environment Liferay...
Exporting and Importing User Roles from One Environment to Another
Issue Whether you want to copy over User Roles and its respective permissions from one environment to another, or in order to keep a backup of your current Roles and Permissions set before making big changes, Liferay...
Can I use the Target Platform BOM to include the correct biz.aQute.bndlib version?
Issue When using the Target Platform functionality in a Liferay Workspace (to use the dependencies from the target version's BOM) to try to include the biz.aQute.bndlib in a 7.2 dxp-5 custom module, it fails to...
Can not change virtual host from an existing virtual instance
Issue After editing the virtual host field from an existing virtual instance, the new value suddenly disappears after clicking on Save button.  Environment Liferay DXP 7.2, fix pack dxp-5 or higher Resolution...
Cannot deploy themes using the `themes` folder
Note: please note that Liferay has renamed its Liferay Experience Could offerings to Liferay SaaS (formerly LXC) and Liferay PaaS (formerly LXC-SM). Issue Your themes (.war files) on the themes folder are not...
Invalid CSRF Token warnings
Issue Invalid CSRF Token warnings appear in the logs, if portlet.url.anchor.enable=true is set in portal-ext.properties. User 20127 is not allowed to access URL http://localhost:8080/web/guest/home and...
I want to define user permissions for the Notice and Warning portlets respectively.
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...
How to resolve "Unable to validate referenced file entry" UI errors preventing Web Content from being updated
Issue When trying to update a previously published web content article, clicking the Publish button results in an error message in the UI like the following: Error: Unable to validate referenced file entry because it...
RSS Publisher portlet on Widget Pages can be refreshed by guest users
Issue RSS Publisher portlet on Widget Pages can be refreshed by guest users. Environment Liferay DXP 7.0 Liferay DXP 7.1 Liferay DXP 7.2 Liferay DXP 7.3 Resolution Add an RSS publisher portlet to Wiget Page...
How to disable login to access DXP web interface
Note: please note that Liferay has renamed its Liferay Experience Could offerings to Liferay SaaS (formerly LXC) and Liferay PaaS (formerly LXC-SM). Issue By default, authentication is required to access the...