Class GoogleAuthenticator

java.lang.Object
com.logicaldoc.enterprise.security.twofactorsauth.AbstractSecondFactorAuthenticator
com.logicaldoc.enterprise.security.twofactorsauth.GoogleAuthenticator
All Implemented Interfaces:
SecondFactorAuthenticator

public class GoogleAuthenticator extends AbstractSecondFactorAuthenticator
Implements the second factor using the Google Authenticator service
Since:
7.7.3
Author:
Marco Meschieri - LogicalDOC
  • Constructor Details

    • GoogleAuthenticator

      public GoogleAuthenticator()
  • Method Details

    • authenticate

      public void authenticate(com.logicaldoc.core.security.user.User user, String key) throws com.logicaldoc.core.security.authentication.AuthenticationException
      Description copied from interface: SecondFactorAuthenticator
      Authenticates the given user
      Parameters:
      user - The user to check
      key - The key inputed by the user
      Throws:
      com.logicaldoc.core.security.authentication.AuthenticationException - the user was not authenticated