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.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.google.gwt.user.server.rpc.RemoteServiceServlet implements com.logicaldoc.gui.frontend.client.services.TwoFactorsAuthenticationService, com.logicaldoc.gui.login.client.services.TfaService
Implements the GWT serviceTwoFactorsAuthenticationService
- Since:
- 7.7.3
- Author:
- Marco Meschieri - LogicalDOC
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description TwoFactorsAuthenticationServiceImpl()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
changeTwoFactorsAuthentication(long userId, String secondFactor, String key, String account, boolean notify)
String[]
generateGoogleAuthorizationCredentials(String account)
String
generateKey(String username)
String
generateYubiKeyCredentials(String key)
-
Methods inherited from class com.google.gwt.user.server.rpc.RemoteServiceServlet
getSerializationPolicy, init, processCall, processCall, processPost
-
-
-
-
Method Detail
-
generateGoogleAuthorizationCredentials
public 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
-
-