Message Boards
Custom Login Liferay 7.1
Luis Sanabria Vega, modified 4 Years ago.
Custom Login Liferay 7.1
New Member Posts: 8 Join Date: 2/15/12 Recent Posts
Hi
We are trying to write a own custom JSF login porlet, we use this method of API
AuthenticatedSessionManagerUtil.login(httpServletRequest, httpServletResponse, handle, password, rememberMe,authType);
It's ok but we had to change the propertie
session.enable.phishing.protection=false
But this cause problems on create account process, the stepsĀ agree terms, change password and security questions ask for user and password between each step.
Any Idea ?
How can make login with JSF porlet using session.enable.phishing.protection=true ?
or
How can fix the wizard of create account?
Thanks!
We are trying to write a own custom JSF login porlet, we use this method of API
AuthenticatedSessionManagerUtil.login(httpServletRequest, httpServletResponse, handle, password, rememberMe,authType);
It's ok but we had to change the propertie
session.enable.phishing.protection=false
But this cause problems on create account process, the stepsĀ agree terms, change password and security questions ask for user and password between each step.
Any Idea ?
How can make login with JSF porlet using session.enable.phishing.protection=true ?
or
How can fix the wizard of create account?
Thanks!
David H Nebinger, modified 4 Years ago.
RE: Custom Login Liferay 7.1
Liferay Legend Posts: 14916 Join Date: 9/2/06 Recent Posts
Why did you have to disable phishing protection?
Luis Sanabria Vega, modified 4 Years ago.
RE: Custom Login Liferay 7.1
New Member Posts: 8 Join Date: 2/15/12 Recent Posts
Thank you David!
The session was invalidated but the property was removed and everything works fine.
The session was invalidated but the property was removed and everything works fine.
Neil Griffin, modified 4 Years ago.
RE: Custom Login Liferay 7.1
Liferay Legend Posts: 2655 Join Date: 7/27/05 Recent Posts
I recommend that you take a look at the source for the jsf-login-portlet and jsf-registration-portlet demos.
Luis Sanabria Vega, modified 4 Years ago.
RE: Custom Login Liferay 7.1
New Member Posts: 8 Join Date: 2/15/12 Recent Posts
Thank you Neil!
Olaf Kock, modified 4 Years ago.
RE: Custom Login Liferay 7.1
Liferay Legend Posts: 6403 Join Date: 9/23/08 Recent Posts
In addition, you can eliminate the terms of service recognition and the reminder question by configuration in portal-ext.properties.
#
# Set this to true if all users are required to agree to the terms of use.
#
terms.of.use.required=false
#
# Set this to true to enable reminder queries that are used to help reset a
# user's password.
#
users.reminder.queries.enabled=false