Class MultifactorAuthenticationManager
java.lang.Object
org.ametys.runtime.plugin.component.AbstractLogEnabled
org.ametys.plugins.core.authentication.MultifactorAuthenticationManager
org.ametys.plugins.site.authentication.MultifactorAuthenticationManager
- All Implemented Interfaces:
LogEnabled
,Disposable
,Initializable
,Component
,Contextualizable
,Serviceable
The component to handle Multifactor authentication
Provides methods to generate, send and check MFA codes
-
Nested Class Summary
Nested classes/interfaces inherited from class org.ametys.plugins.core.authentication.MultifactorAuthenticationManager
MultifactorAuthenticationManager.MultifactorAuthenticationCode
-
Field Summary
Fields inherited from class org.ametys.plugins.core.authentication.MultifactorAuthenticationManager
_context, _cryptoHelpers, _currentUserProvider, _datasourceId, _i18nUtils, _serviceManager, _sqlDatabaseTypeExtensionPoint, _userManager, ROLE
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected I18nizableText
_getMailSubjectPrefix
(Request request) Retrieves the prefix of mail's subjectMethods inherited from class org.ametys.plugins.core.authentication.MultifactorAuthenticationManager
authenticationApplicationForCurrentUser, contextualize, dispose, generateMultifactorAuthenticationCode, getCurrentUserQrData, getEmailCodeDuration, getUserSecretForCurrentUser, initialize, initializeMFACryptoComponent, isAuthenticationApplicationActivated, isValidMultifactorAuthenticationCode, renewSecret, renewSecretForCurrentUser, sendMultifactorAuthenticationCodeByMail, service
Methods inherited from class org.ametys.runtime.plugin.component.AbstractLogEnabled
getLogger, setLogger
-
Constructor Details
-
MultifactorAuthenticationManager
public MultifactorAuthenticationManager()
-
-
Method Details
-
_getMailSubjectPrefix
Description copied from class:MultifactorAuthenticationManager
Retrieves the prefix of mail's subject- Overrides:
_getMailSubjectPrefix
in classMultifactorAuthenticationManager
- Parameters:
request
- the request- Returns:
- the prefix of mail's subject
-