org.springframework.security.authentication.jaas.event
Class JaasAuthenticationEvent
java.lang.Object
java.util.EventObject
org.springframework.context.ApplicationEvent
org.springframework.security.authentication.jaas.event.JaasAuthenticationEvent
- All Implemented Interfaces:
- Serializable
- Direct Known Subclasses:
- JaasAuthenticationFailedEvent, JaasAuthenticationSuccessEvent
public abstract class JaasAuthenticationEvent
- extends ApplicationEvent
Parent class for events fired by the JaasAuthenticationProvider
.
- Version:
- $Id: JaasAuthenticationEvent.java 3550 2009-04-13 13:43:23Z ltaylor $
- Author:
- Ray Krueger
- See Also:
- Serialized Form
JaasAuthenticationEvent
public JaasAuthenticationEvent(Authentication auth)
- The Authentication object is stored as the ApplicationEvent 'source'.
- Parameters:
auth
-
getAuthentication
public Authentication getAuthentication()
- Pre-casted method that returns the 'source' of the event.
- Returns:
- the Authentication
Copyright © 2004-2009 SpringSource, Inc. All Rights Reserved.