Class DefaultMfaService
java.lang.Object
eu.rarogsoftware.rarog.platform.security.mfa.DefaultMfaService
- All Implemented Interfaces:
MfaService
,SettingsInitializer
-
Field Summary
Fields inherited from interface eu.rarogsoftware.rarog.platform.api.security.mfa.MfaService
EXCLUDE_REQUEST_FROM_MFA_ATTRIBUTE
-
Constructor Summary
ConstructorsConstructorDescriptionDefaultMfaService
(ApplicationSettings applicationSettings, PluginsService pluginsService) -
Method Summary
Modifier and TypeMethodDescriptiongetMethodsForUser
(StandardUser standardUser) void
initialize
(ApplicationSettings settings) Invoked during plugin activation or app startup.boolean
boolean
boolean
boolean
-
Constructor Details
-
DefaultMfaService
-
-
Method Details
-
isMfaEnabled
public boolean isMfaEnabled()- Specified by:
isMfaEnabled
in interfaceMfaService
-
isMfaForced
public boolean isMfaForced()- Specified by:
isMfaForced
in interfaceMfaService
-
isMfaEnabledForUser
- Specified by:
isMfaEnabledForUser
in interfaceMfaService
-
isMfaConfiguredForUser
- Specified by:
isMfaConfiguredForUser
in interfaceMfaService
-
getMethods
- Specified by:
getMethods
in interfaceMfaService
-
getMethodsForUser
- Specified by:
getMethodsForUser
in interfaceMfaService
-
initialize
Description copied from interface:SettingsInitializer
Invoked during plugin activation or app startup.- Specified by:
initialize
in interfaceSettingsInitializer
- Parameters:
settings
- system application settings object
-