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 standardLDAuthenticationProvider
that adds 2FA capabilities- Since:
- 7.7.3
- Author:
- Marco Meschieri - LogicalDOC
-
-
Constructor Summary
Constructors Constructor Description TwoFactorsAuthenticationProvider()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.springframework.security.core.Authentication
authenticate(org.springframework.security.core.Authentication authentication)
-
-
-
Method Detail
-
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
-
-