Updated 1 month and 12 days ago
We need implement 3 modules in order to achieve MFA with in Liferay. We used Liferay 7.0 CE to implement this module.
Let’s see how this has been implemented
<service-builder package-path="com.webakte.mfa"> <author>srikanth.shanigaram</author> <namespace>mfa</namespace> <entity local-service="true" name="Mfa" table="wk_mfa" remote-service="true" uuid="true"> <column name="mfaId" primary="true" type="long" /> <column name="userId" type="long" /> <column name="custUniqueId" type="String" /> <column name="orgId" type="long" /> <column name="createDate" type="Date" /> <column name="modifiedDate" type="Date" /> <column name="verificationType" type="String" /> <column name="verificationData" type="String" /> <column name="mfaType" type="String" /> <column name="expirationDate" type="Date" /> <column name="status" type="String" /> </entity> </service-builder>
This module concentrates on extending default Liferay authentication by keeping an additional layer on top of it.
MFA Resend Filter is used to resend notification link through configured channels.
This filter will be called every one minute from mfa Verification.jsp
Logic behind this filter is to validate Session variable continuously and provide response to mfaVerification.jsp file for required navigation.
This filter executes its business logic when user clicks on verification link.
MFA verification filter is responsible to to update session variable (canAccess) as true or false and also it validates the link whether it is expired or not.
After clicking the verification link, the user will be redirected to status.jsp which shows the status as successfully authenticated or failed to authenticate or verification link was expired.
KTree is the best offshore Liferay development company with extensive experience in Liferay Portal Development services alongwith Upgrade & Migration. Hire Liferay developers or Liferay development services from LiferayDeveloper.
KTree is one of top most Web Application Development company from India which specializes in Web Application development and Mobile Apps Development