org.springframework.security.authentication.jaas.event
Class JaasAuthenticationFailedEvent

java.lang.Object
  extended by java.util.EventObject
      extended by org.springframework.context.ApplicationEvent
          extended by org.springframework.security.authentication.jaas.event.JaasAuthenticationEvent
              extended by org.springframework.security.authentication.jaas.event.JaasAuthenticationFailedEvent
All Implemented Interfaces:
Serializable

public class JaasAuthenticationFailedEvent
extends JaasAuthenticationEvent

Fired when LoginContext.login throws a LoginException, or if any other exception is thrown during that time.

See Also:
Serialized Form

Field Summary
 
Fields inherited from class java.util.EventObject
source
 
Constructor Summary
JaasAuthenticationFailedEvent(Authentication auth, Exception exception)
           
 
Method Summary
 Exception getException()
           
 
Methods inherited from class org.springframework.security.authentication.jaas.event.JaasAuthenticationEvent
getAuthentication
 
Methods inherited from class org.springframework.context.ApplicationEvent
getTimestamp
 
Methods inherited from class java.util.EventObject
getSource, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

JaasAuthenticationFailedEvent

public JaasAuthenticationFailedEvent(Authentication auth,
                                     Exception exception)
Method Detail

getException

public Exception getException()