Package lumis.portal.authentication
Interface ILoginValidator
-
- All Known Implementing Classes:
LoginValidator
@Deprecated public interface ILoginValidator
Deprecated.to customize credential validation you must create a new JAAS login module or extend theLumisLoginModule
- Since:
- 4.0.0
- Version:
- $Revision: 26156 $ $Date: 2024-01-13 10:26:46 -0300 (Sat, 13 Jan 2024) $
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Deprecated Methods Modifier and Type Method Description default boolean
validateLogin(java.lang.String login, java.lang.String password)
Deprecated.Since 16.1.0, this method will not be used anymore.boolean
validateLogin(java.lang.String login, java.lang.String password, java.lang.String mfaToken)
Deprecated.Validates the login/password/MFA token.
-
-
-
Method Detail
-
validateLogin
@Deprecated default boolean validateLogin(java.lang.String login, java.lang.String password) throws PortalException
Deprecated.Since 16.1.0, this method will not be used anymore. UsevalidateLogin(String, String, String)
instead.Validates the login/password.- Parameters:
login
- the user's loginpassword
- the user's password- Returns:
true
if the given password is correct for the specified login orfalse
otherwise- Throws:
PortalException
- Since:
- 16.1.0
-
validateLogin
boolean validateLogin(java.lang.String login, java.lang.String password, java.lang.String mfaToken) throws PortalException
Deprecated.Validates the login/password/MFA token.- 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
- Since:
- 16.1.0
-
-