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, _userLanguagesManager, _userManager, ROLE -
Constructor Summary
Constructors -
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, serviceMethods inherited from class org.ametys.runtime.plugin.component.AbstractLogEnabled
getLogger, setLogger
-
Constructor Details
-
MultifactorAuthenticationManager
public MultifactorAuthenticationManager()
-
-
Method Details
-
_getMailSubjectPrefix
Description copied from class:MultifactorAuthenticationManagerRetrieves the prefix of mail's subject- Overrides:
_getMailSubjectPrefixin classMultifactorAuthenticationManager- Parameters:
request- the request- Returns:
- the prefix of mail's subject
-