Package lumis.portal.authentication.mfa
Interface IMFAAuthenticationManagerSPI
-
- All Known Subinterfaces:
IAuthenticationManagerSPI
- All Known Implementing Classes:
AuthenticationManager
public interface IMFAAuthenticationManagerSPI
Interface to expose the MFA authentication actions.- Since:
- 16.1.0
- Version:
- $Revision: 26156 $ $Date: 2024-01-13 10:26:46 -0300 (Sat, 13 Jan 2024) $
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
clearExpiredMFATokens()
IMFATokenSendResult
sendMFATokenEmail(java.lang.String userLogin)
Sends an email with a token to be used for authentication.
Returns the created token result.
Requires a validSessionConfig
and an activeITransaction
.
-
-
-
Method Detail
-
sendMFATokenEmail
IMFATokenSendResult sendMFATokenEmail(java.lang.String userLogin) throws PortalException
Sends an email with a token to be used for authentication.
Returns the created token result.
Requires a validSessionConfig
and an activeITransaction
.- Parameters:
userLogin
- the user login- Returns:
- the created token result
- Throws:
java.lang.NullPointerException
- if userLogin is null or emptyjava.lang.NullPointerException
- if there's no current transaction or it is not activejava.lang.NullPointerException
- if there's no sessionjava.lang.IllegalStateException
- if the global MFA configuration is disabledPortalException
- if some error occurs- Since:
- 16.1.0
-
clearExpiredMFATokens
void clearExpiredMFATokens() throws PortalException
- Throws:
java.lang.NullPointerException
- if there's no current transaction or it is not activejava.lang.NullPointerException
- if there's no sessionjava.lang.IllegalStateException
- if the global MFA configuration is disabledPortalException
- if some error occurs- Since:
- 16.1.0
-
-