Class TwoFactorsAuthentication
- java.lang.Object
-
- com.logicaldoc.enterprise.security.twofactorsauth.TwoFactorsAuthentication
-
public class TwoFactorsAuthentication extends Object
Manages the Two Factor Authentication- Since:
- 7.7.3
- Author:
- Marco Meschieri - LogicalDOC
-
-
Constructor Summary
Constructors Constructor Description TwoFactorsAuthentication()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static void
checkSecondFactor(com.logicaldoc.core.security.User user, String key)
Performs second factor authentication checksstatic void
init()
Populate the authenticators using the extension point SecondAuthentication declared in the core plug-in.
-
-
-
Method Detail
-
checkSecondFactor
public static void checkSecondFactor(com.logicaldoc.core.security.User user, String key) throws com.logicaldoc.core.security.authentication.AuthenticationException
Performs second factor authentication checks- Parameters:
user
- the actual user that wants to loginkey
- the key provided by the user- Throws:
com.logicaldoc.core.security.authentication.AuthenticationException
- the user has not been authenticated
-
init
public static void init()
Populate the authenticators using the extension point SecondAuthentication declared in the core plug-in.
-
-