Package org.acegisecurity
Class AuthenticationException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- org.springframework.core.NestedRuntimeException
-
- org.acegisecurity.AcegiSecurityException
-
- org.acegisecurity.AuthenticationException
-
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
AccountExpiredException,AuthenticationServiceException,BadCredentialsException,CredentialsExpiredException,DisabledException,InsufficientAuthenticationException,LockedException,ProviderNotFoundException
@Deprecated public abstract class AuthenticationException extends AcegiSecurityException
Deprecated.useAuthenticationException- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedAuthenticationException(String msg)Deprecated.protectedAuthenticationException(String msg, Object extraInformation)Deprecated.protectedAuthenticationException(String msg, Throwable t)Deprecated.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description voidclearExtraInformation()Deprecated.static RuntimeExceptionfromSpring(org.springframework.security.core.AuthenticationException x)Deprecated.AuthenticationgetAuthentication()Deprecated.ObjectgetExtraInformation()Deprecated.voidsetAuthentication(Authentication authentication)Deprecated.org.springframework.security.core.AuthenticationExceptiontoSpring()Deprecated.-
Methods inherited from class org.springframework.core.NestedRuntimeException
contains, getMessage, getMostSpecificCause, getRootCause
-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-
-
-
Method Detail
-
getAuthentication
public Authentication getAuthentication()
Deprecated.
-
setAuthentication
public void setAuthentication(Authentication authentication)
Deprecated.
-
getExtraInformation
public Object getExtraInformation()
Deprecated.
-
clearExtraInformation
public void clearExtraInformation()
Deprecated.
-
toSpring
public org.springframework.security.core.AuthenticationException toSpring()
Deprecated.- Overrides:
toSpringin classAcegiSecurityException
-
fromSpring
public static RuntimeException fromSpring(org.springframework.security.core.AuthenticationException x)
Deprecated.- Returns:
- either an
AuthenticationExceptionor aDataAccessException
-
-