Issue
-
Steps to Reproduce
- Add -Dcompany-id-properties=true to the JAVA_OPTS on $LIFERAY_HOME/tomcat/x.y.z-bin/setenv.sh;
- Add a file $LIFERAY_HOME/portal-test1.properties with the content company.security.auth.type=screenName;
- Go to Configuration > Virtual Instances;
- Create a new virtual instance with the Web ID "test1";
- Access the virtual instance by its virtual host (may require fiddling with /etc/hosts);
- Login on the instance;
Expected Results
The login screen asks for the user's screenname, because of the property company.security.auth.type=screenName added to portal-{web-id}.properties.
Actual Results
The login screen asks for the user's email, showing that the property from portal-{web-id}.properties was not loaded.
Environment
- Liferay environment details, as well as third party and/or recent changes to environment that are relevant
Resolution
- The observed behavior is a known bug and fixed in Liferay-fix-pack-dxp-5 and above.
- Installing Fix Packs and Hotfixes on Liferay DXP will guide to install these Fixpack in your environment.