/o/commerce-media/accounts/-1/images/123492905?download=true
Device Based Security
Descrição
Device based security is a reusable component for Liferay. This
component will secure user login as per the devices. Once user will
login to portal from some particular device. Portal will store user’s IP
address as device identity. Next time if user will login through some
other device/Network. User will be asked to answer security
question/answer. When user will login for the first time, portal will
ask 3 different security questions and will store the answers to
database.
For add security question of your choice, You can add question in portal.properties file of the portlet. Change value of following 3 property. For adding localization, whatever question you will add to property file, Portal will try to find it’s localize value in Language.properties file. So after adding question, please add it’s localized value to language file.
ds.users.reminder.queries.questions1=what-is-your-primary-frequent-flyer-number,what-is-your-library-card-number
ds.users.reminder.queries.questions2=what-was-your-first-phone-number,what-was-your-first-teacher's-name
ds.users.reminder.queries.questions3=what-is-your-father's-middle-name,what-is-your-birthplace
I am keeping the src and service lib with the war, that would be helpful for further development anyone require.
This component is dedicated to P.R.S.
For add security question of your choice, You can add question in portal.properties file of the portlet. Change value of following 3 property. For adding localization, whatever question you will add to property file, Portal will try to find it’s localize value in Language.properties file. So after adding question, please add it’s localized value to language file.
ds.users.reminder.queries.questions1=what-is-your-primary-frequent-flyer-number,what-is-your-library-card-number
ds.users.reminder.queries.questions2=what-was-your-first-phone-number,what-was-your-first-teacher's-name
ds.users.reminder.queries.questions3=what-is-your-father's-middle-name,what-is-your-birthplace
I am keeping the src and service lib with the war, that would be helpful for further development anyone require.
This component is dedicated to P.R.S.
Desenvolvedor
Hardik Rajani
Publisher Date
November 6, 2026
Deployment Method
Liferay PaaS
Liferay Self-Hosted
App Type
DXP
Versão
1.0
Versões compatíveis
6.2,
6.1
Standard Price
Free
Help and Support
Compartilhar link