Interface MfaChecker


  • public interface MfaChecker
    Checks whether a user has to complete multi-factor authentication before accessing a protected area.
    Since:
    8.5.6
    Author:
    Norman Lorenz
    • Method Detail

      • getInstance

        static MfaChecker getInstance()
        Returns the singleton instance of the MfaChecker using 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