Package lumis.portal.authentication
Class LoginValidator
- java.lang.Object
-
- lumis.portal.authentication.LoginValidator
-
- All Implemented Interfaces:
ILoginValidator
public class LoginValidator extends java.lang.Object implements ILoginValidator
Default portal login validator. Validates the login/password usingIAuthenticationDao.validateUserLogin(String, String, ITransaction)
.- Since:
- 4.0.0
- Version:
- $Revision: 25906 $ $Date: 2023-09-22 18:21:26 -0300 (Fri, 22 Sep 2023) $
-
-
Constructor Summary
Constructors Constructor Description LoginValidator()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
validateLogin(java.lang.String login, java.lang.String password, java.lang.String mfaToken)
Validates the login/password/MFA token.-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface lumis.portal.authentication.ILoginValidator
validateLogin
-
-
-
-
Method Detail
-
validateLogin
public boolean validateLogin(java.lang.String login, java.lang.String password, java.lang.String mfaToken) throws PortalException
Description copied from interface:ILoginValidator
Validates the login/password/MFA token.- Specified by:
validateLogin
in interfaceILoginValidator
- Parameters:
login
- the user's loginpassword
- the user's passwordmfaToken
- the MFA token- Returns:
true
if the given password and MFA token are correct for the specified login orfalse
otherwise- Throws:
PortalException
-
-