Class NoOpAuthenticationManager

  • All Implemented Interfaces:
    org.springframework.security.authentication.AuthenticationManager

    public class NoOpAuthenticationManager
    extends java.lang.Object
    implements org.springframework.security.authentication.AuthenticationManager
    A no-op AuthenticationManager.
    • Constructor Detail

      • NoOpAuthenticationManager

        public NoOpAuthenticationManager()
    • 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.AuthenticationManager
        Throws:
        org.springframework.security.core.AuthenticationException
      • isEraseCredentialsAfterAuthentication

        public boolean isEraseCredentialsAfterAuthentication()