-
Type:
Bug
-
Status: Open
-
Resolution: Unresolved
-
Affects Version/s: 7.1.10 DXP FP1, 7.1.10 DXP FP2
-
Fix Version/s: None
-
Component/s: Dev Tools
-
Labels:None
Using DXP 7.1 7.1.10-ga1, with or without Fix Pack 2:
1. Deploy a module with an auth.pipeline.pre or auth.pipeline.post Authenticator component with the following code in the appropriate authenticate method in use for the environment:
for (String key : parameterMap.keySet())
{ _log.info("parameterMap key: " + key); }2. Go to home page and click 'Login', populate email/screenName and invalid password on the login screen, click Sign In and check the server logs. The list of parameters is as follows:
parameterMap key: p_p_id
parameterMap key: p_p_lifecycle
parameterMap key: p_p_state
parameterMap key: p_p_mode
parameterMap key: _com_liferay_login_web_portlet_LoginPortlet_javax.portlet.action
parameterMap key: _com_liferay_login_web_portlet_LoginPortlet_mvcRenderCommandName
This is the list of parameters included in the URL but it doesn't include the parameters from the POST form body.
3. Enter invalid password on the subsequent login screen, click Sign In and check the server logs. The list of parameters is as follows:
parameterMap key: p_p_id
parameterMap key: p_p_lifecycle
parameterMap key: p_p_state
parameterMap key: p_p_mode
parameterMap key: _com_liferay_login_web_portlet_LoginPortlet_javax.portlet.action
parameterMap key: _com_liferay_login_web_portlet_LoginPortlet_mvcRenderCommandName
parameterMap key: _com_liferay_login_web_portlet_LoginPortlet_formDate
parameterMap key: _com_liferay_login_web_portlet_LoginPortlet_saveLastPath
parameterMap key: _com_liferay_login_web_portlet_LoginPortlet_redirect
parameterMap key: _com_liferay_login_web_portlet_LoginPortlet_doActionAfterLogin
parameterMap key: _com_liferay_login_web_portlet_LoginPortlet_login
parameterMap key: _com_liferay_login_web_portlet_LoginPortlet_password
parameterMap key: _com_liferay_login_web_portlet_LoginPortlet_checkboxNames
This is the list of parameters included in the URL plus the parameters from the POST form body.
4. Stop Liferay, add the following to portal-ext.properties and restart Liferay:
javascript.single.page.application.enabled=false
5. Go to home page and click 'Login', populate email/screenName and invalid password on the login screen, click Sign In and check the server logs. The list of parameters is as follows:
parameterMap key: p_p_id
parameterMap key: p_p_lifecycle
parameterMap key: p_p_state
parameterMap key: p_p_mode
parameterMap key: _com_liferay_login_web_portlet_LoginPortlet_javax.portlet.action
parameterMap key: _com_liferay_login_web_portlet_LoginPortlet_mvcRenderCommandName
parameterMap key: _com_liferay_login_web_portlet_LoginPortlet_formDate
parameterMap key: _com_liferay_login_web_portlet_LoginPortlet_saveLastPath
parameterMap key: _com_liferay_login_web_portlet_LoginPortlet_redirect
parameterMap key: _com_liferay_login_web_portlet_LoginPortlet_doActionAfterLogin
parameterMap key: _com_liferay_login_web_portlet_LoginPortlet_login
parameterMap key: _com_liferay_login_web_portlet_LoginPortlet_password
parameterMap key: _com_liferay_login_web_portlet_LoginPortlet_checkboxNames
This is the list of parameters included in the URL plus the parameters from the POST form body.
When Senna / SPA is enabled the list from the modal dialog is not complete. When Senna / SPA is disabled the list from the modal dialog is complete.