Sunday, January 31, 2016

Liferay User Account Registration Using Custom Portlet

In this example we will see how to create/add user in liferay using liferay mvc custom portlet plugin. First we will register programmatically and just after user get registered we will logged in that user in portal. STEPS: Step 1: Add below property in portal-ext.poperties file. session.enable.phishing.protection=false Step2:...

Change Liferay User Account Password Example 2

In this example we will see how to change/update liferay user account password. In this approach we will match user account database password which is stored is database with user input current password which user will provide user as a currentPassword using liferay API. PasswordTrackerLocalServiceUtil STEPS:...