org.springframework.security.event.authorization
Class AuthenticationCredentialsNotFoundEvent
java.lang.Object
java.util.EventObject
org.springframework.context.ApplicationEvent
org.springframework.security.event.authorization.AbstractAuthorizationEvent
org.springframework.security.event.authorization.AuthenticationCredentialsNotFoundEvent
- All Implemented Interfaces:
- Serializable
public class AuthenticationCredentialsNotFoundEvent
- extends AbstractAuthorizationEvent
Indicates a secure object invocation failed because the Authentication
could not be obtained from
the SecurityContextHolder
.
- Version:
- $Id$
- Author:
- Ben Alex
- See Also:
- Serialized Form
AuthenticationCredentialsNotFoundEvent
public AuthenticationCredentialsNotFoundEvent(Object secureObject,
ConfigAttributeDefinition configAttribs,
AuthenticationCredentialsNotFoundException credentialsNotFoundException)
- Construct the event.
- Parameters:
secureObject
- the secure objectconfigAttribs
- that apply to the secure objectcredentialsNotFoundException
- exception returned to the caller
(contains reason)
- Throws:
IllegalArgumentException
- DOCUMENT ME!
getConfigAttributeDefinition
public ConfigAttributeDefinition getConfigAttributeDefinition()
getCredentialsNotFoundException
public AuthenticationCredentialsNotFoundException getCredentialsNotFoundException()
Copyright © 2004-2010 SpringSource, Inc. All Rights Reserved.