Giriş
Şu satırı dahil ederiz
import org.springframework.security.core.AuthenticationException;
Açıklaması şöyle
Abstract superclass for all exceptions related to an Authentication object being invalid for whatever reason.
Bu sınıftan kalıtan bazı sınıflar şöyle
AccountStatusException,
ActiveDirectoryAuthenticationException,
AuthenticationCancelledException,
AuthenticationCredentialsNotFoundException,
AuthenticationServiceException,
BadCredentialsException,
InsufficientAuthenticationException,
NonceExpiredException,
OAuth2AuthenticationException,
PreAuthenticatedCredentialsNotFoundException,
ProviderNotFoundException,
RememberMeAuthenticationException,
Saml2AuthenticationException,
SessionAuthenticationException,
UsernameNotFoundException
Hiç yorum yok:
Yorum Gönder