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
-
Method Summary
Modifier and TypeMethodDescriptionvoid
changeTwoFactorsAuthentication
(long userId, String secondFactor, String key, String account, boolean notify) generateKey
(String username) Methods inherited from class com.logicaldoc.web.service.AbstractRemoteService
setThreadRequest
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
-
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 interfacecom.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 interfacecom.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 interfacecom.logicaldoc.gui.frontend.client.services.TwoFactorsAuthenticationService
- Throws:
com.logicaldoc.gui.common.client.ServerException
-
generateKey
- Specified by:
generateKey
in interfacecom.logicaldoc.gui.login.client.services.TfaService
- Throws:
com.logicaldoc.gui.common.client.ServerException
-