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.
use AuthenticationException
See Also:
  • Constructor Details

    • AuthenticationException

      protected AuthenticationException(String msg)
      Deprecated.
    • AuthenticationException

      protected AuthenticationException(String msg, Object extraInformation)
      Deprecated.
    • AuthenticationException

      protected AuthenticationException(String msg, Throwable t)
      Deprecated.
  • Method Details

    • 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 class AcegiSecurityException
    • fromSpring

      public static RuntimeException fromSpring(org.springframework.security.core.AuthenticationException x)
      Deprecated.
      Returns:
      either an AuthenticationException or a DataAccessException