Class TwoFactorsAuthenticationProvider
java.lang.Object
com.logicaldoc.core.security.spring.LDAuthenticationProvider
com.logicaldoc.enterprise.security.twofactorsauth.TwoFactorsAuthenticationProvider
- All Implemented Interfaces:
org.springframework.security.authentication.AuthenticationProvider
public class TwoFactorsAuthenticationProvider
extends com.logicaldoc.core.security.spring.LDAuthenticationProvider
Extension of the standard
LDAuthenticationProvider
that adds 2FA
capabilities- Since:
- 7.7.3
- Author:
- Marco Meschieri - LogicalDOC
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionorg.springframework.security.core.Authentication
authenticate
(org.springframework.security.core.Authentication authentication) Methods inherited from class com.logicaldoc.core.security.spring.LDAuthenticationProvider
supports
-
Constructor Details
-
TwoFactorsAuthenticationProvider
public TwoFactorsAuthenticationProvider()
-
-
Method Details
-
authenticate
public org.springframework.security.core.Authentication authenticate(org.springframework.security.core.Authentication authentication) throws org.springframework.security.core.AuthenticationException - Specified by:
authenticate
in interfaceorg.springframework.security.authentication.AuthenticationProvider
- Overrides:
authenticate
in classcom.logicaldoc.core.security.spring.LDAuthenticationProvider
- Throws:
org.springframework.security.core.AuthenticationException
-