I am using the hook of the login, along with the wrapper service UserLocalServiceWrapper of liferay 7 which has the following method:
@Override
public int authenticateByEmailAddress(long companyId, String emailAddress,
String password, Map<String, String[]> headerMap,
Map<String, String[]> parameterMap,
Map<String, Object> resultsMap) throws PortalException {
// TODO Auto-generated method stub
return super.authenticateByEmailAddress(companyId, emailAddress, password, headerMap, parameterMap, resultsMap);
}
The question is as follows, how can I send an own parameter to the Liferay URL, I do not know if any of the parameters of the above method can be used, since I need to obtain my parameter that I sent in another portlet.
Thank you ...