Class 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 Detail

      • TwoFactorsAuthenticationProvider

        public TwoFactorsAuthenticationProvider()
    • 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 interface org.springframework.security.authentication.AuthenticationProvider
        Overrides:
        authenticate in class com.logicaldoc.core.security.spring.LDAuthenticationProvider
        Throws:
        org.springframework.security.core.AuthenticationException