org.springframework.security.authentication.event
Class AbstractAuthenticationEvent
java.lang.Object
java.util.EventObject
org.springframework.context.ApplicationEvent
org.springframework.security.authentication.event.AbstractAuthenticationEvent
- All Implemented Interfaces:
- Serializable
- Direct Known Subclasses:
- AbstractAuthenticationFailureEvent, AuthenticationSuccessEvent, AuthenticationSwitchUserEvent, InteractiveAuthenticationSuccessEvent
public abstract class AbstractAuthenticationEvent
- extends ApplicationEvent
Represents an application authentication event.
The ApplicationEvent
's source
will
be the Authentication
object.
- Version:
- $Id: AbstractAuthenticationEvent.java 3550 2009-04-13 13:43:23Z ltaylor $
- Author:
- Ben Alex
- See Also:
- Serialized Form
AbstractAuthenticationEvent
public AbstractAuthenticationEvent(Authentication authentication)
getAuthentication
public Authentication getAuthentication()
- Getters for the
Authentication
request that caused the event. Also available from
super.getSource()
.
- Returns:
- the authentication request
Copyright © 2004-2009 SpringSource, Inc. All Rights Reserved.