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

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    org.springframework.security.core.Authentication
    authenticate(org.springframework.security.core.Authentication authentication)
     

    Methods inherited from class com.logicaldoc.core.security.spring.LDAuthenticationProvider

    supports

    Methods inherited from class java.lang.Object

    equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • 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 interface org.springframework.security.authentication.AuthenticationProvider
      Overrides:
      authenticate in class com.logicaldoc.core.security.spring.LDAuthenticationProvider
      Throws:
      org.springframework.security.core.AuthenticationException