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 noAuthenticationobject in theSecurityContext.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description AuthenticationCredentialsNotFoundException(java.lang.String msg)Constructs anAuthenticationCredentialsNotFoundExceptionwith the specified message.AuthenticationCredentialsNotFoundException(java.lang.String msg, java.lang.Throwable cause)Constructs anAuthenticationCredentialsNotFoundExceptionwith the specified message and root cause.
-
-
-
Constructor Detail
-
AuthenticationCredentialsNotFoundException
public AuthenticationCredentialsNotFoundException(java.lang.String msg)
Constructs anAuthenticationCredentialsNotFoundExceptionwith the specified message.- Parameters:
msg- the detail message
-
AuthenticationCredentialsNotFoundException
public AuthenticationCredentialsNotFoundException(java.lang.String msg, java.lang.Throwable cause)Constructs anAuthenticationCredentialsNotFoundExceptionwith the specified message and root cause.- Parameters:
msg- the detail messagecause- root cause
-
-