Type: Technical Task
Affects Version/s: None
Fix Version/s: None
The following tests call BaseURL.setSecure(true) in order to verify that BaseURL.toString() will generate a string representation of a URL that uses the HTTPS protocol:
In order to make this work in Liferay, the following must take place:
1. The $LIFERAY_HOME/tomcat/lib/server.xml descriptor must be configured to listen on port 8443.
2. The following property must be added to $LIFERAY_HOME/portal-ext.properties
3. The data-senna-off attribute will need to be added to TCK forms and/or anchor links in order to prevent SennaJS from submitting forms by XHR, bypassing URLs found in form action attributes. This may require opening PLUTO issues and modifying the TCK. An alternative to this would be to disable SennaJS for the V2URLTests portlet by adding the following to the WEB-INF/liferay-portal.xml descriptor: