org.springframework.security.event.authentication
Class AbstractAuthenticationEvent
java.lang.Object
java.util.EventObject
org.springframework.context.ApplicationEvent
org.springframework.security.event.authentication.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$
- 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-2010 SpringSource, Inc. All Rights Reserved.