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 protected
AuthenticationException(String msg)
Deprecated.protected
AuthenticationException(String msg, Object extraInformation)
Deprecated.protected
AuthenticationException(String msg, Throwable t)
Deprecated.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description void
clearExtraInformation()
Deprecated.static RuntimeException
fromSpring(org.springframework.security.core.AuthenticationException x)
Deprecated.Authentication
getAuthentication()
Deprecated.Object
getExtraInformation()
Deprecated.void
setAuthentication(Authentication authentication)
Deprecated.org.springframework.security.core.AuthenticationException
toSpring()
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:
toSpring
in classAcegiSecurityException
-
fromSpring
public static RuntimeException fromSpring(org.springframework.security.core.AuthenticationException x)
Deprecated.- Returns:
- either an
AuthenticationException
or aDataAccessException
-
-