Package de.xima.fc.user.access
Interface MfaChecker
-
public interface MfaCheckerChecks whether a user has to complete multi-factor authentication before accessing a protected area.- Since:
- 8.5.6
- Author:
- Norman Lorenz
-
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Modifier and Type Method Description MfaCheckResultcheckBackendMfa(AuthenticatedUser user)Checks the multi-factor authentication of the given user for accessing the backend, i.e. the administration interface.static MfaCheckergetInstance()Returns the singleton instance of theMfaCheckerusing CDI.
-
-
-
Method Detail
-
getInstance
static MfaChecker getInstance()
Returns the singleton instance of theMfaCheckerusing CDI.- Returns:
- the singleton instance
- Since:
- 8.5.6
-
checkBackendMfa
MfaCheckResult checkBackendMfa(AuthenticatedUser user) throws FcIAMAccessException
Checks the multi-factor authentication of the given user for accessing the backend, i.e. the administration interface.- Parameters:
user- the authenticated user to check- Returns:
- the result of the check
- Throws:
FcIAMAccessException- if the check could not be performed- Since:
- 8.5.6
-
-