org.springframework.security.access.event
Class AuthenticationCredentialsNotFoundEvent

java.lang.Object
  extended by java.util.EventObject
      extended by org.springframework.context.ApplicationEvent
          extended by org.springframework.security.access.event.AbstractAuthorizationEvent
              extended by org.springframework.security.access.event.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: AuthenticationCredentialsNotFoundEvent.java 3927 2009-10-06 19:46:44Z ltaylor $
Author:
Ben Alex
See Also:
Serialized Form

Field Summary
 
Fields inherited from class java.util.EventObject
source
 
Constructor Summary
AuthenticationCredentialsNotFoundEvent(Object secureObject, Collection<ConfigAttribute> attributes, AuthenticationCredentialsNotFoundException credentialsNotFoundException)
          Construct the event.
 
Method Summary
 Collection<ConfigAttribute> getConfigAttributes()
           
 AuthenticationCredentialsNotFoundException getCredentialsNotFoundException()
           
 
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

AuthenticationCredentialsNotFoundEvent

public AuthenticationCredentialsNotFoundEvent(Object secureObject,
                                              Collection<ConfigAttribute> attributes,
                                              AuthenticationCredentialsNotFoundException credentialsNotFoundException)
Construct the event.

Parameters:
secureObject - the secure object
attributes - that apply to the secure object
credentialsNotFoundException - exception returned to the caller (contains reason)
Method Detail

getConfigAttributes

public Collection<ConfigAttribute> getConfigAttributes()

getCredentialsNotFoundException

public AuthenticationCredentialsNotFoundException getCredentialsNotFoundException()


Copyright © 2004-2009 SpringSource, Inc. All Rights Reserved.