Class AuthenticationCredentialsNotFoundException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- org.springframework.security.core.AuthenticationException
-
- org.springframework.security.authentication.AuthenticationCredentialsNotFoundException
-
- All Implemented Interfaces:
java.io.Serializable
public class AuthenticationCredentialsNotFoundException extends AuthenticationException
Thrown if an authentication request is rejected because there is noAuthentication
object in theSecurityContext
.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description AuthenticationCredentialsNotFoundException(java.lang.String msg)
Constructs anAuthenticationCredentialsNotFoundException
with the specified message.AuthenticationCredentialsNotFoundException(java.lang.String msg, java.lang.Throwable t)
Constructs anAuthenticationCredentialsNotFoundException
with the specified message and root cause.
-
-
-
Constructor Detail
-
AuthenticationCredentialsNotFoundException
public AuthenticationCredentialsNotFoundException(java.lang.String msg)
Constructs anAuthenticationCredentialsNotFoundException
with the specified message.- Parameters:
msg
- the detail message
-
AuthenticationCredentialsNotFoundException
public AuthenticationCredentialsNotFoundException(java.lang.String msg, java.lang.Throwable t)
Constructs anAuthenticationCredentialsNotFoundException
with the specified message and root cause.- Parameters:
msg
- the detail messaget
- root cause
-
-