Ask Questions and Find Answers
Important:
Ask is now read-only. You can review any existing questions and answers, but not add anything new.
But - don't panic! While ask is no more, we've replaced it with discuss - the new Liferay Discussion Forum! Read more here here or just visit the site here:
discuss.liferay.com
RE: Custom Login Liferay 7.1
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!
Why did you have to disable phishing protection?
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.
I recommend that you take a look at the source for the jsf-login-portlet and jsf-registration-portlet demos.
Thank you Neil!
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
Copyright © 2025 Liferay, Inc
• Privacy Policy
Powered by Liferay™