Class AbstractSecondFactorAuthenticator

    • Constructor Detail

      • AbstractSecondFactorAuthenticator

        public AbstractSecondFactorAuthenticator()
    • Method Detail

      • generateKey

        public String generateKey​(com.logicaldoc.core.security.User user)
        A generic implementation that does do nothing. Concrete implementations should put here a call to the authentication framework to send the user a key he will have to put in the login screen
        Specified by:
        generateKey in interface SecondFactorAuthenticator
        Parameters:
        user - The user that will try to authenticate
        Returns:
        the result of the key generation, it may be a transaction id