Class WingsBindAuthProvider

  • All Implemented Interfaces:
    org.springframework.beans.factory.Aware , org.springframework.beans.factory.InitializingBean , org.springframework.context.MessageSourceAware , org.springframework.security.authentication.AuthenticationProvider

    
    public class WingsBindAuthProvider
    extends AbstractUserDetailsAuthenticationProvider
                        
    Compatible with DaoAuthenticationProvider and can be replaced.
    If onlyWingsBindAuthnToken=true, only WingsBindAuthnToken is processed.
    
    Note that WingsBindAuthnToken inherits UsernamePasswordAuthenticationToken
    and may be processed by other Providers.
    Can't inherit DaoAuthenticationProvider because final `retrieveUser`,
    but `mitigateAgainstTimingAttack` is fine, copy all.
    
    Since:

    2021-02-08

    Author:

    trydofor