Thursday, August 7, 2014

Liferay admin password used in Liferay Web Service

Recently discovered that the Liferay admin's password used for the Liferay remote services.
must be without "@".

Liferay API will extract from "@" until the "/" to be the target service host.

eg. adminPassword@127.0.0.1:8080/api/axis
meaning from the above example, 127.0.0.1:8080 will be extracted as the target host.

somehow if the adminPassword contains "@", the API will extract from the adminPassword.

eg: adminP@ssword@127.0.0.1:8080/api/axis
now the host becomes @ssword@127.0.0.1:8080.

with this adminP@ssword, Liferay API will throw an unknownHostException.

conclusion, @ not allowed in the Liferay Admin password to be used in Liferay web service.


Done!!

LinkWithin

Related Posts Plugin for WordPress, Blogger...