Class TwoFactorsAuthenticationServiceImpl

java.lang.Object
javax.servlet.GenericServlet
javax.servlet.http.HttpServlet
com.google.gwt.user.server.rpc.AbstractRemoteServiceServlet
com.google.gwt.user.server.rpc.RemoteServiceServlet
com.logicaldoc.web.service.AbstractRemoteService
com.logicaldoc.enterprise.security.twofactorsauth.TwoFactorsAuthenticationServiceImpl
All Implemented Interfaces:
com.google.gwt.user.client.rpc.RemoteService, com.google.gwt.user.server.rpc.SerializationPolicyProvider, com.logicaldoc.gui.frontend.client.services.TwoFactorsAuthenticationService, com.logicaldoc.gui.login.client.services.TfaService, Serializable, javax.servlet.Servlet, javax.servlet.ServletConfig

public class TwoFactorsAuthenticationServiceImpl extends com.logicaldoc.web.service.AbstractRemoteService implements com.logicaldoc.gui.frontend.client.services.TwoFactorsAuthenticationService, com.logicaldoc.gui.login.client.services.TfaService
Implements the GWT service TwoFactorsAuthenticationService
Since:
7.7.3
Author:
Marco Meschieri - LogicalDOC
See Also:
  • Nested Class Summary

    Nested classes/interfaces inherited from interface com.logicaldoc.gui.login.client.services.TfaService

    com.logicaldoc.gui.login.client.services.TfaService.Instance

    Nested classes/interfaces inherited from interface com.logicaldoc.gui.frontend.client.services.TwoFactorsAuthenticationService

    com.logicaldoc.gui.frontend.client.services.TwoFactorsAuthenticationService.Instance
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    changeTwoFactorsAuthentication(long userId, String secondFactor, String key, String account, boolean notify)
     
     
    generateKey(String username)
     
     

    Methods inherited from class com.google.gwt.user.server.rpc.RemoteServiceServlet

    getSerializationPolicy, init, processCall, processCall, processPost

    Methods inherited from class com.google.gwt.user.server.rpc.AbstractRemoteServiceServlet

    doPost

    Methods inherited from class javax.servlet.http.HttpServlet

    service

    Methods inherited from class javax.servlet.GenericServlet

    destroy, getInitParameter, getInitParameterNames, getServletConfig, getServletContext, getServletInfo, getServletName, init, log, log

    Methods inherited from class java.lang.Object

    equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • TwoFactorsAuthenticationServiceImpl

      public TwoFactorsAuthenticationServiceImpl()
  • Method Details

    • generateGoogleAuthorizationCredentials

      public List<String> generateGoogleAuthorizationCredentials(String account) throws com.logicaldoc.gui.common.client.ServerException
      Specified by:
      generateGoogleAuthorizationCredentials in interface com.logicaldoc.gui.frontend.client.services.TwoFactorsAuthenticationService
      Throws:
      com.logicaldoc.gui.common.client.ServerException
    • changeTwoFactorsAuthentication

      public void changeTwoFactorsAuthentication(long userId, String secondFactor, String key, String account, boolean notify) throws com.logicaldoc.gui.common.client.ServerException
      Specified by:
      changeTwoFactorsAuthentication in interface com.logicaldoc.gui.frontend.client.services.TwoFactorsAuthenticationService
      Throws:
      com.logicaldoc.gui.common.client.ServerException
    • generateYubiKeyCredentials

      public String generateYubiKeyCredentials(String key) throws com.logicaldoc.gui.common.client.ServerException
      Specified by:
      generateYubiKeyCredentials in interface com.logicaldoc.gui.frontend.client.services.TwoFactorsAuthenticationService
      Throws:
      com.logicaldoc.gui.common.client.ServerException
    • generateKey

      public String generateKey(String username) throws com.logicaldoc.gui.common.client.ServerException
      Specified by:
      generateKey in interface com.logicaldoc.gui.login.client.services.TfaService
      Throws:
      com.logicaldoc.gui.common.client.ServerException