public class

BadCredentialsException

extends AuthenticationException
java.lang.Object
   ↳ java.lang.Throwable
     ↳ java.lang.Exception
       ↳ java.lang.RuntimeException
         ↳ org.springframework.security.core.AuthenticationException
           ↳ org.springframework.security.authentication.BadCredentialsException

Class Overview

Thrown if an authentication request is rejected because the credentials are invalid. For this exception to be thrown, it means the account is neither locked nor disabled.

Summary

Public Constructors
BadCredentialsException(String msg)
Constructs a BadCredentialsException with the specified message.
BadCredentialsException(String msg, Object extraInformation)
BadCredentialsException(String msg, Throwable t)
Constructs a BadCredentialsException with the specified message and root cause.
[Expand]
Inherited Methods
From class org.springframework.security.core.AuthenticationException
From class java.lang.Throwable
From class java.lang.Object

Public Constructors

public BadCredentialsException (String msg)

Constructs a BadCredentialsException with the specified message.

Parameters
msg the detail message

public BadCredentialsException (String msg, Object extraInformation)

public BadCredentialsException (String msg, Throwable t)

Constructs a BadCredentialsException with the specified message and root cause.

Parameters
msg the detail message
t root cause